Skip to content

In-depth lesson · Stored XSS

Bypasses and variations

Every point the Stored XSS reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 18 of 18
  1. Bypass the content security policy through markdown placeholder replacement inside a span tag.

    Seen in 2 reports
  2. A link filter was bypassed by doubling characters.

    Seen in 1 report
  3. A web application firewall that filtered HTML tags was bypassed using an HTML comment.

    Seen in 1 report
  4. An input filter only blocked literal angle brackets and did not decode HTML entities before checking, allowing a bypass.

    Seen in 1 report
  5. An injected approval rule name executed despite the site's content security policy.

    Seen in 1 report
  6. The content security policy blocked automatic event execution, so the payload needed a click to fire.

    Seen in 1 report
  7. A base tag in injected markup redirected script imports to an attacker server that the content security policy still allowed.

    Seen in 1 report
  8. The content security policy did not block the object tag used in the payload.

    Seen in 1 report
  9. The frame-src content security policy could be bypassed on a local instance even though the hosted instance blocked framing an external domain.

    Seen in 1 report
  10. Bypass the content security policy by loading a same-origin HTML file in an iframe and injecting script into it.

    Seen in 1 report
  11. Bypass the content security policy using an iframe with a srcdoc attribute injected through link text.

    Seen in 1 report
  12. Register a service worker with a manipulated resourceBaseAuthority parameter to traverse paths.

    Seen in 1 report
  13. Bypass an SVG content blocklist and a short scan limit to get script through.

    Seen in 1 report
  14. Bypass reCAPTCHA and the absence of rate limiting on a public contact API.

    Seen in 1 report
  15. Bypass username validation in the XML-RPC addUser call to store markup in a username.

    Seen in 1 report
  16. Use a browser link type hint on a response with no Content-Type header to get it interpreted as HTML.

    Seen in 1 report
  17. Use a markdown image or link target with a javascript: URL to execute script.

    Seen in 1 report
  18. Exploit attachment display across SameSite cookie settings.

    Seen in 1 report