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 51 to 100 of 743
  1. A fetch with keepalive enabled was not subject to the page's Content-Security-Policy.

    Seen in 1 report
  2. A filter checked whether the URL contained or started with the trusted domain rather than comparing the actual host.

    Seen in 1 report
  3. A filter that blocked only the lowercase script tag was bypassed with different casing or an image element with an error handler.

    Seen in 1 report
  4. A filter that only blocked the word alert was bypassed with other payloads.

    Seen in 1 report
  5. A fix applied to the main content rendering path did not cover the sidebar rendering path.

    Seen in 1 report
  6. A fix for an earlier pushState report could be bypassed with a new crafted path that still injected a page into the admin panel.

    Seen in 1 report
  7. A fullwidth less-than character was normalised into a regular less-than to get past escaping.

    Seen in 1 report
  8. A GET request skipped the session check that only covered POST requests.

    Seen in 1 report
  9. A hostname with a trailing dot was treated as different from the same hostname without it, defeating an exact-match origin check.

    Seen in 1 report
  10. A Java path parameter ending in .css made the proxy cache the response as a CSS file, turning self-XSS into cached stored XSS.

    Seen in 1 report
  11. A javascript scheme URL passes a whitelist that only checks the domain.

    Seen in 1 report
  12. A javascript scheme value when angle brackets are filtered.

    Seen in 1 report
  13. A javascript: URI with a link targeting a new tab bypassed the sandbox without allow-scripts.

    Seen in 1 report
  14. A javascript: URL containing the substring http passed a URL check that only looked for that substring.

    Seen in 1 report
  15. A known Internet Explorer universal XSS flaw still worked against a framed resource despite X-Frame-Options.

    Seen in 1 report
  16. A leading null byte in a filename sent via WebDAV got past the upload filter.

    Seen in 1 report
  17. A link with rel=noreferrer provides the null referrer needed to reach the vulnerable reflection.

    Seen in 1 report
  18. A look-alike domain whose name contains the trusted domain to pass a substring allow-list.

    Seen in 1 report
  19. A malformed script tag bypassed the site's XSS filter.

    Seen in 1 report
  20. A manipulated Content-disposition header uploads a file with a malicious filename without user interaction.

    Seen in 1 report
  21. A non-recursive replacement removed closing script tags, so a nested tag bypassed the filter.

    Seen in 1 report
  22. A null byte plus a fake attribute confused the WAF parser so it did not recognise the real event handler.

    Seen in 1 report
  23. A page set as a profile website manipulated window.opener, bypassing a previous fix for a similar issue.

    Seen in 1 report
  24. A parser differential caused the sanitiser to fall back to removing only script tags, leaving event handlers intact.

    Seen in 1 report
  25. A polyglot JPEG with a modified header length field and null byte padding hid script that executed when loaded as a script.

    Seen in 1 report
  26. A polyglot payload with an SVG onload handler got past the sanitiser.

    Seen in 1 report
  27. A protocol-relative URL starting with a double slash passed the hostname check.

    Seen in 1 report
  28. A quote in the namespace URL broke out of the url() context to inject arbitrary CSS rules.

    Seen in 1 report
  29. A quote-hiding mechanism in the application created a parser differential that got past the WAF.

    Seen in 1 report
  30. A regex blocked special characters on direct navigation, but framing the page and swapping the URL after load got around it.

    Seen in 1 report
  31. A relaxed CSP allowed scripts with a nonce placeholder that was inserted into the same template as the unescaped author value.

    Seen in 1 report
  32. A reverse proxy configuration stripped security headers, negating protections for uploaded content.

    Seen in 1 report
  33. A rewritten stylesheet containing a literal closing style tag broke out when the HTML was re-parsed.

    Seen in 1 report
  34. A same-origin JSONP endpoint reflecting the callback parameter undermined a script-src self policy.

    Seen in 1 report
  35. A sandboxed iframe whose origin serialises to null satisfied the listener's origin trust.

    Seen in 1 report
  36. A sanitiser allowed iframe and source tags with certain attributes, and client-side string concatenation reintroduced executable markup.

    Seen in 1 report
  37. A sanitiser that allowed data-* attributes let a client-side library fetch and execute JavaScript.

    Seen in 1 report
  38. A self-XSS in the organisation field becomes stored XSS through the autocomplete endpoint.

    Seen in 1 report
  39. A stored value in an approval rule name executed despite the site's content security policy, so test stored injection points even where a CSP is present.

    Seen in 1 report
  40. A string-prefix check was used as a security boundary before the same string was concatenated into a CSS declaration.

    Seen in 1 report
  41. A substring match on the sender origin instead of an exact allowlist lets any domain containing the target's name pass.

    Seen in 1 report
  42. A throwaway pair of angle brackets before the real tag defeated an escape function that replaced only the first match.

    Seen in 1 report
  43. A triple javascript: scheme plus a callback like an array method invoking a function indirectly got past the WAF.

    Seen in 1 report
  44. A type confusion: the sanitisation check compared against the string false while the rendering check tested truthiness.

    Seen in 1 report
  45. A Unicode-encoded tag was decoded and executed where a plain tag did not fire.

    Seen in 1 report
  46. A URL-decoding step ran after sanitisation, reactivating a javascript-scheme URL hidden with percent-u encoding.

    Seen in 1 report
  47. A vertical tab in the request URI was used to alter the link destination.

    Seen in 1 report
  48. A WAF blocked common script tags and on handlers, but less common event handlers got through.

    Seen in 1 report
  49. A WAF only inspected GET requests, so the same parameters sent by POST were unfiltered.

    Seen in 1 report
  50. A WAF that filtered HTML tags was bypassed with an HTML comment.

    Seen in 1 report