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 651 to 700 of 743
  1. Use data-* attributes that survive the sanitiser's allow and deny logic.

    Seen in 1 report
  2. Use deprecated tags such as plaintext, fn and credit that the blacklist does not cover.

    Seen in 1 report
  3. Use DOM clobbering alongside injected markup to get past the content security policy.

    Seen in 1 report
  4. Use DOM clobbering to make a shimmed SDK read an attacker-controlled currentScript source and load an attacker URL under strict-dynamic CSP.

    Seen in 1 report
  5. Use double URL encoding for newlines and backslashes for slashes to get past filters.

    Seen in 1 report
  6. Use duplicate parameter names, Unicode-to-ASCII conversion, case-insensitivity, null-byte truncation, stray percent signs and ampersand quirks to slip past browser anti-XSS filters.

    Seen in 1 report
  7. Use ESI comment tags and variables to get past WAF restrictions.

    Seen in 1 report
  8. Use Flash to load an external resource before the base URL is set.

    Seen in 1 report
  9. Use Flash URL decoding behaviour to obfuscate an attack vector and bypass Internet Explorer 10's reflected XSS protection.

    Seen in 1 report
  10. Use ftp or relative URLs in src and href attributes to get past a scheme allow-list.

    Seen in 1 report
  11. Use HTML character references in a javascript hyperlink so the filter, which did not normalise them before checking, lets it through.

    Seen in 1 report
  12. Use HTML entity or URL encoding variants to get past filters when breaking out of a JavaScript string.

    Seen in 1 report
  13. Use HTML numeric character references for the letters in the payload to avoid the case transformation.

    Seen in 1 report
  14. Use HTML-encoded tab characters to slip past a filter that blocks complete tags.

    Seen in 1 report
  15. Use HTTP parameter pollution: append a second parameter with the same name after the fix limits the first to four characters.

    Seen in 1 report
  16. Use HZ-GB-2312 escape sequences to get past the IE XSS filter.

    Seen in 1 report
  17. Use invalid UTF-8 sequences to make multibyte string functions disagree with the filter.

    Seen in 1 report
  18. Use JavaScript escape sequences for characters that HTML encoding would catch, and split the payload into short segments wrapped in comment markers.

    Seen in 1 report
  19. Use JavaScript escape sequences made only of digits and backslashes to get past an uppercase-only filter.

    Seen in 1 report
  20. Use malformed selectors and alternative CSS functions to slip CSS injection past filter validation.

    Seen in 1 report
  21. Use mixed-case, alternative tags or encoding tricks when a WAF blocks common payloads.

    Seen in 1 report
  22. Use namespace confusion, animation attributes, XSLT stylesheets or Safari's image import behaviour to bypass SVG sanitisers.

    Seen in 1 report
  23. Use numeric character references that the filter does not handle to get past partial HTML encoding.

    Seen in 1 report
  24. Use Safari-specific event handlers and dynamically constructed eval calls to evade F5 ASM signature filtering.

    Seen in 1 report
  25. Use semantically obfuscated payloads that look benign to an AI-based WAF.

    Seen in 1 report
  26. Use short punycode domains and string concatenation to get past WAF pattern rules.

    Seen in 1 report
  27. Use spaces, special characters and string reversal to bypass WAF restrictions on attribute injection.

    Seen in 1 report
  28. Use style tags when script tags are filtered to affect the whole page.

    Seen in 1 report
  29. Use style-based execution in older browsers to get past a fix that only blocked tags.

    Seen in 1 report
  30. Use SVG vectors other than script elements and on* attributes to evade a blocklist sanitiser.

    Seen in 1 report
  31. Use tag-like strings starting with an exclamation mark that the library and browser parse differently.

    Seen in 1 report
  32. Use the deprecated slot-scope attribute to evaluate expressions when a WAF replaces keywords.

    Seen in 1 report
  33. Use the documentation tool's own link syntax to produce a javascript href that the earlier sanitiser did not block.

    Seen in 1 report
  34. Use the namespaced xlink:href attribute to skip the fragment-only URL check applied to href.

    Seen in 1 report
  35. Use the onauxclick handler when common handlers are blocked by a blacklist.

    Seen in 1 report
  36. Use the print function instead of alert to get past a WAF that blocks specific JavaScript function names.

    Seen in 1 report
  37. Use the sandbox allow-scripts directive to neutralise script-src 'none'.

    Seen in 1 report
  38. Use two image tags with mixed quotes to get past a filter that converts single quotes to double quotes and removes onerror.

    Seen in 1 report
  39. Use Unicode for quotes and JavaScript comments to break out of a dialog and bypass the WAF.

    Seen in 1 report
  40. Use unusual characters in HTML tag names and the localName property to evade WAFs and blocklists.

    Seen in 1 report
  41. Use uppercase script tags to get past filtering.

    Seen in 1 report
  42. Use URL encoding and mixed-case tags to get past a blacklist filter.

    Seen in 1 report
  43. Using a second site with weaker username validation to store a short payload rendered on the main site.

    Seen in 1 report
  44. Using an automated payload tool to find a working payload when manual attempts are blocked.

    Seen in 1 report
  45. Using an iframe srcdoc attribute when script tags are filtered.

    Seen in 1 report
  46. Using many unclosed paragraph tags to make the sanitiser allow an extra tag.

    Seen in 1 report
  47. Using mobile-specific DOM events that a blacklist did not cover.

    Seen in 1 report
  48. Using the decodeURI function and the onbeforetoggle event handler, and splitting the alert call into concatenated variables, got past the WAF.

    Seen in 1 report
  49. Using valueOf.name.constructor.fromCharCode to build strings past quote sanitisation.

    Seen in 1 report
  50. Validating each field separately let a payload be reconstructed when the fields were joined for display.

    Seen in 1 report