Bug class
XSS guides and techniques
Explainers, cheat sheets, methodology and technique research on XSS. Rated for how useful they are to a hunter, each summarised in one line.
The best first
Ranked by our rating, newer a little ahead. Each title opens the original.
-
Encoding Differentials: Why Charset MattersExplains how charset mismatches between browser, server and database let attackers slip XSS and SQL injection past filters.
Technique sonarsource.com
-
Escaping '<' and '>' in attributes – how it helps protect against mutation XSSExplains the HTML spec change escaping angle brackets in attributes and how it mitigates mutation XSS in sanitizers.
Explainer bughunters.google.com
-
When File Uploads Break XSS DefensesExplains why stored XSS payloads fire via file uploads but not manual forms, due to inconsistent sanitisation across input paths.
Technique machevalia.blog
-
How HTML Sanitizers Actually Work, and the Five Ways They BreakExplains how HTML sanitizers parse and filter markup and catalogues five common classes of bypass.
Technique kd-200.medium.com
-
Exploiting PostMessage vulnerabilities: A complete guideComplete guide to PostMessage flaws, covering how to spot missing or weak origin checks and exploit them for data theft or XSS.
Explainer intigriti.com
-
Inside the Script Block: JavaScript String, Template Literal, and JSON BreakoutsExplains how to break out of JavaScript strings, template literals and JSON inside script blocks to achieve XSS.
Technique kd-200.medium.com
-
The Canary Method: Finding Every Reflection Before You Fire a Single PayloadDescribes a method for mapping every user input reflection point before sending XSS payloads, saving time during testing.
Technique kd-200.medium.com
-
XSS attacks and exploitation: The ultimate guide to cross-site scriptingComprehensive breakdown of reflected, stored, DOM and blind XSS with detection and exploitation methods for bug bounty hunters.
Explainer yeswehack.com
-
Self-XSS Is Not a Dead End: Five Ways to Deliver It to Someone ElseShows five delivery methods that turn a self-XSS into a reportable issue by getting another user to trigger the payload.
Technique kd-200.medium.com
-
Blind XSS: Stop Thinking About Payloads, Start Thinking About PeopleArgues that blind XSS success depends on understanding which staff view stored input rather than on payload tricks.
Methodology kd-200.medium.com
-
postMessage XSS: The Listener Nobody AuditsExamines postMessage listeners that are rarely audited and how weak origin checks can lead to cross-site scripting.
Technique kd-200.medium.com
-
DOM XSS Deep Dive: Sources, Sinks, and Backwards TracingDeep dive into DOM XSS covering sources, sinks and backwards tracing to find exploitable flows, though no teaser text is available.
Technique kd-200.medium.com
-
Bypassing Content Security Policy (CSP)Explains CSP directives and practical bypasses including report-only mode, weak sources, predictable nonces and injection.
Explainer intigriti.com
-
Hunting for DOM-based XSS vulnerabilities: A complete guideExplains DOM XSS sources and sinks, discovery via static analysis and runtime interception, plus exploitation through common sinks.
Explainer intigriti.com
-
Secure by Design: Google's Blueprint for a High-Assurance Web FrameworkDescribes Google's high-assurance web framework approach that cut XSS reports by an order of magnitude.
Methodology bughunters.google.com
-
Exploiting Insecure Output Handling in LLMs via Indirect Prompt Injection (XSS)Explains how unsafe LLM output rendering enables indirect prompt injection to achieve cross site scripting in AI features.
Technique infosecwriteups.com
-
CSP Recon: Reading a Policy Like a HunterExplains how to read Content Security Policy headers to spot weaknesses useful for cross-site scripting exploitation.
Technique kd-200.medium.com
-
WAF Bypass Methodology for XSSOutlines a methodology for bypassing web application firewalls when testing cross site scripting, though details are thin.
Methodology kd-200.medium.com
-
Hunting for blind XSS vulnerabilities: A complete guideCovers tooling, payload construction and injection points for hunting blind XSS where execution happens later in hidden admin panels.
Methodology intigriti.com
-
postMessage Braindump : a brief postMessage testing methodologySets out a practical methodology for testing postMessage handlers, covering origin checks, message sinks and exploitation paths.
Methodology rhynorater.github.io
-
Exotic Sources: window.name, History State, Storage, Cookies, ReferrerCovers lesser-known client-side input sources such as window.name, history state, storage and referrer for XSS hunting.
Technique kd-200.medium.com
-
DOM Clobbering: Turning Plain HTML Into JavaScript VariablesExplains DOM clobbering, where injected HTML overwrites JavaScript variables, and how it can be abused.
Explainer kd-200.medium.com
-
Front-End Frameworks: When Bypassing Built-in Sanitization Might BackfireShows how bypassing Angular, React and Vue sanitisation APIs reintroduces XSS and how to audit such hotspots.
Explainer sonarsource.com
-
(CSP) Common Bypass Techniques foCollects common content security policy bypass techniques useful when escalating cross-site scripting findings.
Cheat sheet medium.com
-
Beyond Reflection: Eliminating False Positives in Cross-Site Scripting (XSS) with Context-Aware…Explains using HTML5 parsing states and headless Chrome dialog interception to confirm XSS and cut scanner false positives.
Technique pratik-khairnar-sec.medium.com
-
Mutation XSS (mXSS): How to hunt itExplains mutation XSS, why sanitizers and browsers parse markup differently, and how to hunt it on hardened targets.
Technique medium.com
-
"Iframe and window.open Magic" by huliHuli explains how iframe and window.open interactions can be abused, covering cross window scripting and related browser quirks.
Technique blog.huli.tw
-
Reading JS Files Like an AttackerExplains document.referrer, window.name and postMessage as overlooked DOM XSS sources worth hunting in JavaScript.
Technique medium.com
-
XSS Hunting Methodology: My Complete Recon to Validation WorkflowLays out a recon to validation workflow for finding cross site scripting bugs.
Methodology medium.com
-
Client-Side Template Injection: When the Browser Executes Your InExplains client-side template injection in AngularJS, Vue and similar frameworks, showing how it bypasses XSS filters and leads to account takeover.
Explainer medium.com