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 551 to 600 of 743
  1. Upload an SVG with a script as a JPG with an SVG content type so it is served as an image.

    Seen in 1 report
  2. Use URL encoding and a Unicode escape in the handler to get past the tag and alert filters.

    Seen in 1 report
  3. Use URL encoding to bypass scheme validation on a mobile deep link.

    Seen in 1 report
  4. URL-encode parts of the payload when angle brackets are filtered in a POST parameter in JavaScript.

    Seen in 1 report
  5. URL-encode special characters that the server rejects in URI components and resend the payload.

    Seen in 1 report
  6. URL-encode the payload so only the encoded quote and other characters get through the filter in a search field.

    Seen in 1 report
  7. URL-encode the payload to get past the WAF.

    Seen in 1 report
  8. URL-encode the payload when a contact form rejects plain payloads.

    Seen in 1 report
  9. URL-encode the whole payload when a double quote is HTML-encoded.

    Seen in 1 report
  10. URL-encode the payload to bypass filtering in signup and project name fields.

    Seen in 1 report
  11. Use a backslash in a URL inside an allowed anchor tag to bypass double-slash filtering and form a valid link.

    Seen in 1 report
  12. Use a backslash in the search term to escape the JSON string and have the response run as code in search results.

    Seen in 1 report
  13. Use a backtick-based JavaScript payload to avoid a blacklist of parentheses and other characters in Flash files.

    Seen in 1 report
  14. Use a boolean attribute whose value is removed but whose equals sign remains so the browser parses the remaining text as new attributes in a mail HTML filter.

    Seen in 1 report
  15. Use a browser that does not enforce the site's Content Security Policy to get script execution through the proxy subdomain.

    Seen in 1 report
  16. Use a caret character in a URL to bypass the XSS filter.

    Seen in 1 report
  17. Use a Chrome-specific event handler that the WAF blocklist misses.

    Seen in 1 report
  18. Use a client-side gadget to cache a sensitive page, then fetch it with force-cache from the self-XSS path.

    Seen in 1 report
  19. Use a cross-domain iframe navigated to about:blank to read window.name and exfiltrate data despite CSP.

    Seen in 1 report
  20. Use a dash-to-underscore substitution so the injected script differs from the request and bypasses a browser's anti-XSS filter in response splitting.

    Seen in 1 report
  21. Use a DOM-based technique that reads the payload from the URL hash so the server-side filter never sees it.

    Seen in 1 report
  22. Use a DomPurify bypass payload in a description field of an API specification in Swagger UI.

    Seen in 1 report
  23. Use a double quote to break out of an attribute and add an event-handler attribute without needing angle brackets.

    Seen in 1 report
  24. Use a form with text/plain encoding and a hidden field name containing a script payload to get reflected script through a content-type trick.

    Seen in 1 report
  25. Use a form-feed character before padding so the validator treats allow-same-origin as part of one token while the network service parses it separately in an extension sandbox CSP.

    Seen in 1 report
  26. Use a headline that writes the URL fragment into the page to bypass length limits in a story headline.

    Seen in 1 report
  27. Use a hidden input element with a newer CSS visibility event handler that the WAF rules do not recognise.

    Seen in 1 report
  28. Use a javascript: scheme in the return_to parameter on an instance without CSP in Safari in Jira connect.

    Seen in 1 report
  29. Use a jQuery helper to execute script despite the CSP after HTML attributes survive sanitisation.

    Seen in 1 report
  30. Use a JSON unicode null byte to get past URL validation in input filters.

    Seen in 1 report
  31. Use a lesser-used styling attribute to get past a sanitiser in a profile bio.

    Seen in 1 report
  32. Use a longer polyglot payload when a simple payload is sanitised in a translation sanitiser.

    Seen in 1 report
  33. Use a malformed percent sequence that the decoder turns into an equals sign to build a blocked attribute in a WAF hex overflow.

    Seen in 1 report
  34. Use a malformed style tag closing sequence in Firefox to break out of CSS and inject an SVG element with an onload handler.

    Seen in 1 report
  35. Use a newline to defeat a URL validation regex that used line anchors instead of string anchors in external link validation.

    Seen in 1 report
  36. Use a no-cors fetch to work around WAF restrictions on cross-origin requests in VueJS.

    Seen in 1 report
  37. Use a non-BMP whitespace character that truncates to a 16-bit line terminator to bypass WAF and XSS filters in Firefox.

    Seen in 1 report
  38. Use a null byte in the mention displayName to get past filtering, and escape the AngularJS sandbox to reach code execution in chat mentions.

    Seen in 1 report
  39. Use a null byte to obfuscate a script payload so the filter removes it and leaves a working script tag in a search box.

    Seen in 1 report
  40. Use a null byte to split a blocked keyword and get past a WAF in an embeddable listing frame.

    Seen in 1 report
  41. Use a null-byte sequence and a GIF signature to get an HTML file past upload validation in image uploads.

    Seen in 1 report
  42. Use a path traversal URL that still starts with the expected note prefix to get past a prefix check on un-normalised input in report submission.

    Seen in 1 report
  43. Use a percent-encoded null byte in an archive entry name so the listing shows a benign name while the content is served as HTML in jar URL MIME handling.

    Seen in 1 report
  44. Use a sandbox escape payload after determining the AngularJS version.

    Seen in 1 report
  45. Use a script scheme in the redirect parameter instead of a normal URL in a login redirect.

    Seen in 1 report
  46. Use a semicolon before the payload to get past a filter that strips it in an embeddable listing frame.

    Seen in 1 report
  47. Use a short script tag pointing to an external domain when a field enforces a 20-character limit.

    Seen in 1 report
  48. Use a single quote in the URL credentials portion on Firefox to break out of a script string.

    Seen in 1 report
  49. Use a special string that stops a script being wrapped in a protected comment plus a data attribute that disables filtering for that element and its children in rich text sanitisation.

    Seen in 1 report
  50. Use a synchronous blur listener that re-appends an iframe during an atomic move to leave it in a zombie state.

    Seen in 1 report