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 201 to 250 of 743
  1. Change the API host to the mobile domain so the site's relative-path check passes.

    Seen in 1 report
  2. Change the capitalisation of the scheme or prefix it with the feed protocol to get past the drag and drop check.

    Seen in 1 report
  3. Change the case of a tag or nest it to get past a filter that blocks exact strings.

    Seen in 1 report
  4. Change the case of the script tag to get past a simple filter.

    Seen in 1 report
  5. Change the content type from image/jpeg to text/html on upload so the stored file is served as HTML.

    Seen in 1 report
  6. Change the extension of an uploaded file's CDN URL to .html so the browser renders embedded markup.

    Seen in 1 report
  7. Change the outer eventID while keeping the nested eventID as your own.

    Seen in 1 report
  8. Change the payload to upper-case letters so a WAF rule that matches only lower-case tag patterns does not block it.

    Seen in 1 report
  9. Change the protocol to a non-standard scheme first to bypass validation, then use a script scheme with a newline.

    Seen in 1 report
  10. Change the request method from PUT to POST to reach the invitation flow.

    Seen in 1 report
  11. Change the request method from PUT to POST when adding a member and set a new email address to receive the invitation.

    Seen in 1 report
  12. Changing tag case or nesting tags to get past exact-string filters.

    Seen in 1 report
  13. Changing the request method from POST to GET failed, so the POST endpoint was used with a missing CSRF token to turn self-XSS into reflected XSS.

    Seen in 1 report
  14. Check whether the confirmation dialog shows a different address from the one actually executed.

    Seen in 1 report
  15. Chrome and Firefox return a 200 response containing the javascript scheme URI instead of redirecting.

    Seen in 1 report
  16. Client-side phone number linking undid the server's HTML escaping.

    Seen in 1 report
  17. Client-side validation was bypassed by intercepting and modifying the request, and the WAF blacklist was bypassed.

    Seen in 1 report
  18. Clobber a script source property with anchor tags pointing to a data or HTTP URL so the script loads from an attacker-controlled location.

    Seen in 1 report
  19. Clobber undeclared globals and form properties to steer a sanitiser into an error path that adds script.

    Seen in 1 report
  20. Close a div tag and use an iframe when the WAF blocks script payloads.

    Seen in 1 report
  21. Close a JavaScript template literal with a backtick and inject code after it to escape the string context.

    Seen in 1 report
  22. Close an existing attribute and include a script tag, or use an image error handler, to get past a blocklist that only filters script tags.

    Seen in 1 report
  23. Close the attribute with a double quote and angle bracket, then add a script tag when a basic payload is sanitised or causes a 500 error.

    Seen in 1 report
  24. Close the string and the function call, then add a comment or extra characters to avoid a syntax error.

    Seen in 1 report
  25. Closing and reopening a script tag to get past a filter.

    Seen in 1 report
  26. Closing script tag followed by a new script tag when quotes are escaped.

    Seen in 1 report
  27. Combine a character-stripping sanitiser with WAF and browser auditor behaviour to slip a payload through.

    Seen in 1 report
  28. Combine a host header injection with an open redirect to point an invite link at a stored note containing an iframe.

    Seen in 1 report
  29. Combine reference expansion with a mutation XSS technique to get markup past the sanitiser.

    Seen in 1 report
  30. Combine the jar: prefix with slash manipulation to reach restricted local protocols such as file: in Internet Explorer.

    Seen in 1 report
  31. Combine two reflected XSS flaws, using the first to load a same-origin JavaScript file containing the second, to bypass CSP via MIME sniffing.

    Seen in 1 report
  32. Combining an underscore, a URL and an at-sign with extra attributes produces an unintended tag.

    Seen in 1 report
  33. Content Security Policy prevented script execution, but HTML injection still allowed spoofing.

    Seen in 1 report
  34. Control characters inserted into the javascript: scheme bypassed URI filtering.

    Seen in 1 report
  35. Craft a payload without closing the tag, such as a script tag left open, so the page itself closes it, bypassing a filter that only blocks complete tags.

    Seen in 1 report
  36. Craft markup inside a noscript element that the serialiser treats as raw text when scripting is disabled, so it becomes executable after DOMPurify sanitisation.

    Seen in 1 report
  37. Create an iframe to a same-origin HTML file and inject a script there to get around the page's CSP.

    Seen in 1 report
  38. CSS escape sequences in an image URL bypassed the image proxy's URL detection.

    Seen in 1 report
  39. Dangerous attributes such as iframe srcdoc were not sanitised even though event handlers were stripped.

    Seen in 1 report
  40. Decoding a base64 parameter, replacing its contents and re-encoding to reach the reflection.

    Seen in 1 report
  41. Deleting the redirection in the intercepted response revealed the reflected payload.

    Seen in 1 report
  42. Disable the browser's XSS filter or use an old browser to reach the vulnerable reflection.

    Seen in 1 report
  43. DOM clobbering of currentScript to load an attacker URL under strict-dynamic CSP.

    Seen in 1 report
  44. DOM clobbering of the attributes property disabled the sanitizer's attribute enumeration.

    Seen in 1 report
  45. DOMPurify allowed data attributes even when only the strong tag was permitted, so a popover could be built from them.

    Seen in 1 report
  46. Double linking: the HTML inserted on the first pass is treated as input on the second pass.

    Seen in 1 report
  47. Double URL encode a separator character to get past a filter that blocks common payload patterns.

    Seen in 1 report
  48. Double URL encode the payload to get past a WAF that stripped the first attempt.

    Seen in 1 report
  49. Double URL encoding bypassed the filter on the q parameter.

    Seen in 1 report
  50. Double URL encoding plus a dummy parameter bypassed a redirect check that only looked at the URL suffix.

    Seen in 1 report