Hunting Reflected And Stored Xss

Hunt reflected and stored cross-site scripting in server-rendered responses, where untrusted request or stored data is placed into an HTML response in a context whose encoding is missing or wrong, so the value becomes markup or script that runs in the victim's session. Covers the output context that decides the correct encoding, HTML body versus quoted or unquoted attribute versus inline script versus URL versus CSS, a template raw or safe marker that disables autoescaping, JSON embedded in a page, and the reflected versus stored delivery paths. Use when reviewing server-side templates or string-built HTML that include request or database data; DOM-based sinks are a separate skill. The untrusted data rendered into the page is the source, the HTML output context is the sink, and script execution in the victim's session is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-reflected-and-stored-xss commit 74be3855c9

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-reflected-and-stored-xss