Stored (persistent) XSS — input saved and later rendered to other users, including second-order and admin-only sinks. Discovery across write paths, context handling, sanitizer/mXSS bypass, and high-impact escalation. Tier 1. Payloads: payloads/xss.md. Use for any input that is stored and rendered.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Stored Xss?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-stored-xss)
---
name: stored-xss
description: "Stored (persistent) XSS — input saved and later rendered to other users, including second-order and admin-only sinks. Discovery across write paths, context handling, sanitizer/mXSS bypass, and high-impact escalation. Tier 1. Payloads: payloads/xss.md. Use for any input that is stored and rendered."
---
# Stored XSS
Persisted payload executes for every viewer — the highest-impact XSS. Trace every write path to every render sink.
## Trigger phrases
`stored xss, persistent xss, second order xss, stored script injection`
## Method
1. Submit a tracked canary through **every** write path: profile fields, comments, reviews, filenames, support tickets, usernames, metadata, API-created objects.
2. Find where it renders — including other users' views, exports (PDF/CSV), notifications/emails, and admin panels (→ `blind-xss`).
3. Identify the render context (may differ from input context) and craft the breakout from `${CLAUDE_PLUGIN_ROOT}/payloads/xss.md`.
4. **Sanitizer/mXSS bypass:** if HTML is sanitized (DOMPurify etc.), test mutation-XSS and known version bypasses — nesting/namespace confusion (`<svg><style>`, `<math>`, MathML carriers), and DOMPurify-version-specific prototype-pollution/mXSS bypasses (verify the exact version).
5. Confirm execution as a different viewer.
## Escalation
Admin-targeted stored XSS → privileged actions/takeover; wormable across users; session/token theft, keylogging on forms.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.
## Evidence
The stored payload, the write→render path, execution as another user (screenshot), and impact.