Skip to content

In-depth lesson · XSS

Bypasses and variations

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

Back to the lesson 251 to 300 of 743
  1. Double URL-encode special characters when the WAF only inspects single-encoded input.

    Seen in 1 report
  2. Double-encode plus and ampersand characters in the error description parameter to get past encoding.

    Seen in 1 report
  3. Double-encode the payload by URL-encoding the HTML entities so lowercase letters survive an automatic uppercase conversion.

    Seen in 1 report
  4. Double-encode the payload so the single decode-and-check step misses it.

    Seen in 1 report
  5. Double-encoded non-standard ASCII characters in the upper range break the WAF's filter pattern.

    Seen in 1 report
  6. Double-encoding HTML so it is decoded before being placed in the response.

    Seen in 1 report
  7. Duplicate the callback parameter so the filter checks the first benign value while the second value carries the quote and comment characters.

    Seen in 1 report
  8. Emoji and Unicode characters that encoding conversions turn into quotes or angle brackets.

    Seen in 1 report
  9. Emoji shortcode expansion inside an attribute to break out of it.

    Seen in 1 report
  10. Encode JavaScript in Base64 and run it from an SVG onload handler to get past a WAF that blocks common payloads.

    Seen in 1 report
  11. Encode markup in a POST parameter to evade the Akamai firewall's pattern matching.

    Seen in 1 report
  12. Encode the blocked keyword's letters as HTML character references when a filter uppercases input and blocks a literal word.

    Seen in 1 report
  13. Encode the payload to get past Cloudflare.

    Seen in 1 report
  14. Encoded character in a CSS selector decoded into a closing style tag.

    Seen in 1 report
  15. Encoding and alternative JavaScript syntax bypassed the WAF after a basic script-scheme payload was blocked.

    Seen in 1 report
  16. Encoding the payload as Base64 when the page decodes and reflects the value.

    Seen in 1 report
  17. Encrypting the payload with the site's own algorithm in a CSRF page.

    Seen in 1 report
  18. Enumerate allowed tags, attributes and events to find an event handler the WAF does not block.

    Seen in 1 report
  19. Escaped characters inside angle-bracket autolinks become raw HTML on browsers without good CSP support.

    Seen in 1 report
  20. Exploit a difference between how a filter and the rendering engine parse a comment sequence.

    Seen in 1 report
  21. Exploit a listener that uses indexOf for the origin check or trusts a whitelisted origin that itself has XSS.

    Seen in 1 report
  22. Exploit HTML metadata from a remote document to influence rendering.

    Seen in 1 report
  23. Exploit non-standard cookie parsing, such as accepting commas as delimiters, to inject extra cookies and control ordering.

    Seen in 1 report
  24. Exploit the gap between a HEAD content-type check and a separate GET fetch to serve different responses to each.

    Seen in 1 report
  25. Exploit the unencoded URL generation only in Internet Explorer, since other browsers encode the parameters.

    Seen in 1 report
  26. Feed a blocked endpoint to an automated XSS payload tool to find a working payload when Cloudflare blocks manual attempts.

    Seen in 1 report
  27. Files that pass image extension and signature checks can still carry executable script, so test whether uploaded images are ever included as scripts.

    Seen in 1 report
  28. Filtering applied in the wrong order, so nested keywords survive the WAF and become a handler after stripping.

    Seen in 1 report
  29. Find a location in the source where the input is filtered differently and use it to get past the WAF.

    Seen in 1 report
  30. Find the origin IP of a server behind Cloudflare and send requests directly to it to bypass the WAF.

    Seen in 1 report
  31. Forcing a login via CSRF so stored XSS can read a sensitive window's DOM.

    Seen in 1 report
  32. Forcing quirks mode in an iframe and adding path segments makes the browser request a different stylesheet path.

    Seen in 1 report
  33. Frame the redirect page and swap the iframe source after load to bypass the client-side regex filter that blocks special characters.

    Seen in 1 report
  34. Frame the vulnerable page invisibly and position its button under the cursor so a click triggers the script.

    Seen in 1 report
  35. Fuzz tags and events to find a combination the WAF does not block, then trigger scrolling with a hash fragment.

    Seen in 1 report
  36. Get a script inserted by trusted extension code so it passes strict-dynamic CSP.

    Seen in 1 report
  37. Get around HttpOnly by having the victim's browser fetch a phpinfo page that prints all cookies.

    Seen in 1 report
  38. Get past a filter that blocks equals signs and brackets to reach script execution.

    Seen in 1 report
  39. Get past a startsWith allow-list on the use element href by appending a path traversal after the allowed prefix.

    Seen in 1 report
  40. Host a page on a server whose URL path contains the target domain and send a Referrer-Policy header that includes the full URL.

    Seen in 1 report
  41. HTML comments inside attribute names and character references got past simple pattern matching.

    Seen in 1 report
  42. HTML comments passed through the XSS sanitiser unfiltered, and the CSP allowed a public CDN from which AngularJS could be loaded for client-side template injection.

    Seen in 1 report
  43. HTML entities bypassed the chat filter.

    Seen in 1 report
  44. HTML entity encoding of a javascript URI got past the URL scheme filter.

    Seen in 1 report
  45. HTML entity encoding of a payload bypassed a filter that did not decode entities before checking for dangerous tags.

    Seen in 1 report
  46. HTML entity encoding of an SVG payload bypassed the WAF after plain payloads were blocked.

    Seen in 1 report
  47. HTML injection bypasses the homescreen app's DOM sanitiser.

    Seen in 1 report
  48. HTML injection in post links overrode document functions via DOM clobbering and crashed the application.

    Seen in 1 report
  49. HTML rendered via jQuery executed script tags even under a strict-dynamic CSP.

    Seen in 1 report