National Cyber Warfare Foundation (NCWF)login

xss-payload-list for curated cross-site scripting testing in authorized web assessments


0 user ratings
2026-10-26 07:27:06
milo
Red Team (CNA)
"xss-payload-list

A curated collection of XSS payloads, polyglots, and injection-testing rules maintained by Proviesec, aimed at professionals doing authorized penetration testing and bug bounty research on web applications.








ToolProviesec/xss-payload-list — curated collection of cross-site scripting payloads, polyglots, and injection testing rules
CategoryWeb security payload wordlist / cheat sheet
Primary UseSupplying test vectors and polyglot strings for XSS validation during authorized penetration tests and bug bounty engagements
Safe UseFor use exclusively in authorized penetration tests, bug bounty programs with defined scope, lab environments, and defensive filter-quality research
Telemetry NoteNot a tool that runs itself; payloads from these lists appear directly in HTTP request parameters and will be visible in WAF logs, application logs, and IDS signatures as classic script-tag and event-handler patterns

xss-payload-list is one of those repositories that looks deceptively simple on the surface but reveals a deliberate structure once you read past the README header. Maintained under the Proviesec organization, it is a curated corpus of cross-site scripting payloads, polyglot vectors, and a documented methodology for injection testing. With roughly 140 stars on GitHub and a JavaScript language tag, it sits in the family of community-maintained wordlists that practitioners keep cloned locally as a reference during authorized web application assessments. The repository's topics — bugbounty, cross-site-scripting, pentesting, security, xss — make its intended audience explicit.


The README opens by framing the project as collaborative: anyone with a useful payload is invited to submit a PullRequest, and the author actively solicits GitHub stars as motivation. That contribution model matters analytically, because payload lists live or die by freshness. Browser behavior, filter quirks, and WAF signatures shift constantly, and a list maintained through community pull requests has at least a structural mechanism for staying current, even if the merge cadence is not visible from the README alone.


What the README actually documents is instructive. The centerpiece is the author's self-described favorite polyglot, a vector designed to be executable across multiple injection contexts in its raw form. A polyglot, as the file description for XSS-polyglot.txt explains, is a cross-site scripting vector that works within various injection contexts, or a piece of code that executes in multiple contexts in the application. This is the core value proposition of the repository: rather than carrying hundreds of context-specific strings, an tester validating a finding in an authorized engagement can reach for one compact vector that exercises several parsing paths at once.


The most analytically interesting section is the Rules To Find XSS, a ten-step methodology for structured injection testing. It begins with injecting harmless HTML such as and tags to confirm whether markup survives sanitization, progresses through HTML entities and Unicode-escaped sequences, then moves to script tag injection, recursive filter testing, anchor tags, and event handlers. The later steps cover less common event handlers, SRC and Action attributes, and finally HTML5-based payloads. Read as a whole, it describes an escalation ladder: prove injection exists with benign markup before escalating to script execution.


That escalation logic is worth pausing on from a defensive perspective, because it mirrors exactly how blue teams should think about detection. The early stages — harmless tags and entities — generate noise that many WAF deployments ignore. The methodology tells you that an adversary probing your application will first map what survives encoding, then test recursive filter behavior, then move to event handlers and HTML5 vectors. Detection engineering that only signatures on

 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.