Gareth Heyes is a PortSwigger web security researcher best known for pioneering research into cross site scripting, particularly DOM based XSS, and for discovering novel filter bypass and payload techniques. His work has significantly shaped modern client side vulnerability detection and exploitation. He is the author of the book "JavaScript for Hackers" and PortSwigger’s XSS Cheat Sheet.
At PortSwigger, Gareth spends his time researching new techniques for attacking web applications and inventing ever more creative XSS vectors. He has a particular fascination with abusing CSS in unconventional ways, from pure CSS 3D rooms and games to pushing markup languages well beyond their intended limits on his website. In his spare time, he enjoys building Burp Suite extensions, including the widely used Hackvertor.
DOM Invader is the DOM XSS tool built into Burp Suite’s browser. It injects a canary string into every source it can reach, then watches where that canary surfaces, so a dangerous sink lights up without you reading a line of minified JavaScript.
It handles the awkward client-side bugs too: it hooks postMessage so you can replay and tamper with messages, and it hunts for client-side prototype pollution sources and gadgets automatically.
Enable it from the toolbar of Burp’s built-in browser and the DOM Invader panel in the developer tools fills with the sources, sinks and stack traces it finds. It ships with Burp Suite.
Hackvertor is a tag-based conversion tool for Burp Suite. You wrap a payload in tags, such as <@base64>...<@/base64>, and the conversion runs the moment the request is sent, so the tags stay readable in Repeater and Intruder while the server receives the result.
Tags nest, so one value can be hex-encoded, then URL-encoded, then hashed in a single expression, across hundreds of encodings, hashes, ciphers and string operations.
Custom tags let you add your own conversions in JavaScript, Python or Java. The standalone website gives you the same converter in a browser, no Burp needed.
Shazzer is a shared online browser fuzzer. You give it a vector with a marker, choose the characters to try in that position, and it reports which ones the browser actually acts on, so you learn what a parser really does rather than what the spec claims.
Because results are shared, a fuzz anyone has run becomes a reusable record of browser behaviour for the next person who needs it.
It runs entirely in the browser, so you can probe HTML, URL, CSS or JavaScript parsing from the page itself.
Taborator puts Burp Collaborator in its own tab. It generates Collaborator payloads on demand and lists every interaction they trigger, so out-of-band findings like blind SSRF, blind XSS and DNS exfiltration are easy to watch in one place.
A click copies a fresh payload, and new interactions surface with a notification instead of you polling the main Collaborator client.
Install it from the BApp Store in Burp Suite Professional, which includes Collaborator.
The Server-Side Prototype Pollution Scanner finds prototype pollution on the server, where the bug is invisible from the outside. It sends crafted properties and infers from the application’s responses whether the global prototype was polluted, without crashing the target.
It automates the detection techniques from PortSwigger’s research on server-side prototype pollution, turning a fiddly manual probe into a scan.
Install it from the BApp Store and it runs as part of Burp’s scanning.
The Cross-Site Scripting cheat sheet is an interactive, continually updated list of XSS vectors. You can filter by event handler, tag or browser, and copy a working payload for the exact context you are testing.
It is drawn from large-scale fuzzing of browser behaviour, so it tracks which vectors still fire in current browsers rather than listing historical ones.
It runs in the browser and needs no install. Toggle the interactive view to narrow vectors down to a given sink.
The Web Security Academy’s XSS labs are free, hands-on exercises that take you from reflected and stored XSS through to DOM-based bugs, filter bypasses and content security policy evasion.
Each lab is a real, deliberately vulnerable site with a goal to reach, so you practise the attack rather than just read about it.
They are free and run in the browser. An account tracks which labs you have solved.
Frag is a CSS-only token exfiltration tool. It steals secret tokens from a page using nothing but CSS, for contexts where you can inject styles but JavaScript is blocked, such as webmail, HTML email rendering or a strict Content Security Policy.
It generates attribute-selector and background-image payloads that leak overlapping fragments of a token to a server you control, then rebuilds the whole token from those fragments using De Bruijn graph traversal and Eulerian paths.
It runs locally as a small Node app: npm install, node server.js, then open the web UI to configure and generate payloads. A blind mode discovers fields from a wordlist and recovers tokens of unknown length, and it reports every equally plausible candidate when a token is ambiguous. It currently handles hex tokens.
It builds on PortSwigger’s “CSS: the bomb inside your inbox” research and Alex Craig’s overlap-based reconstruction.
Three mechanisms hold the lid. Every figure you need is struck, chalked or engraved somewhere in these rooms — the Cipher ledger on the bookcase explains the mechanisms.
Hang brass weights on the pan until the beam reads the engraved figure. Something in this room is engraved too small to read with the naked eye.
Pans read
Three dials, one hexadecimal digit each. The pairs are etched on a plate in this room; what to do with each pair is in the ledger.
Four brass seals are struck around the rooms — two in the entrance hall, two in here. Set the tumblers to their digits, I to IV.
The lid holds fast.The hasp springs. Close this and lift the lid.
Notes on the lockbox in the corner. Three mechanisms, all of them stupid, none of them mine.
The target weight is engraved on the balance itself, in figures far too small for anyone but a jeweller. A glass hangs on the wall you had your back to as you walked in.
The plate by the window gives three pairs of hex digits. Each dial takes one pair, folded together:
the pair the pair the pairFour brass seals, numbered I–IV, each struck with one digit. Read them in order and set the four tumblers to match.
Two are in the entrance hall: one under the graffiti, one on the gallery door. Two are in here: one on the window frame, one at the foot of this bookcase.
| 0 | 1 | |
|---|---|---|
| XOR | same → 0 | different → 1 |
| AND | 1 only where both bits are 1 | |
| OR | 1 where either bit is 1 | |
Shadow Repeater v1.2.3 release2025
Inline Style Exfiltration: leaking data with chained CSS conditionals2025
Splitting the email atom: exploiting parsers to bypass access controls2024
Using form hijacking to bypass CSP2024
Exploiting prototype pollution in Node without the filesystem2023
Hijacking service workers via DOM Clobbering2022
Server-side prototype pollution: Black-box detection without the DoS2023
Stealing passwords from infosec Mastodon - without bypassing CSP2022
Detecting web message misconfigurations for cross-domain credential theft2022
Our favourite community contributions to the XSS cheat sheet2022
Hunting nonce-based CSP bypasses with dynamic analysis2021
Portable Data exFiltration: XSS for PDFs2020
Evading CSP with DOM-based dangling markup2018
Unearthing Z͌̈́̾a͊̈́l͊̿g̏̉͆o̾̚̚S̝̬ͅc̬r̯̼͇ͅi̼͖̜̭͔p̲̘̘̹͖t̠͖̟̹͓͇ͅ with visual fuzzing2018
JSON hijacking for the modern web2016
Adapting AngularJS payloads to exploit real world applications2016
Burp Clickbandit: A JavaScript based clickjacking PoC generator2015
Abusing Chrome's XSS auditor to steal tokensAbusing Chrome's XSS auditor to steal tokens2015
DOM Clobbering2013
HTML scriptless attacks2011