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.
-
Double URL-encode special characters when the WAF only inspects single-encoded input.
Seen in 1 report
-
Double-encode plus and ampersand characters in the error description parameter to get past encoding.
-
Double-encode the payload by URL-encoding the HTML entities so lowercase letters survive an automatic uppercase conversion.
Seen in 1 report
-
Double-encode the payload so the single decode-and-check step misses it.
Seen in 1 report
-
Double-encoded non-standard ASCII characters in the upper range break the WAF's filter pattern.
-
Double-encoding HTML so it is decoded before being placed in the response.
Seen in 1 report
-
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
-
Emoji and Unicode characters that encoding conversions turn into quotes or angle brackets.
Seen in 1 report
-
Emoji shortcode expansion inside an attribute to break out of it.
Seen in 1 report
-
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
-
Encode markup in a POST parameter to evade the Akamai firewall's pattern matching.
Seen in 1 report
-
Encode the blocked keyword's letters as HTML character references when a filter uppercases input and blocks a literal word.
Seen in 1 report
-
Encode the payload to get past Cloudflare.
Seen in 1 report
-
Encoded character in a CSS selector decoded into a closing style tag.
Seen in 1 report
-
$5,000
-
-
Encoding and alternative JavaScript syntax bypassed the WAF after a basic script-scheme payload was blocked.
Seen in 1 report
-
Encoding the payload as Base64 when the page decodes and reflects the value.
Seen in 1 report
-
Encrypting the payload with the site's own algorithm in a CSRF page.
Seen in 1 report
-
Enumerate allowed tags, attributes and events to find an event handler the WAF does not block.
Seen in 1 report
-
Escaped characters inside angle-bracket autolinks become raw HTML on browsers without good CSP support.
Seen in 1 report
-
Exploit a difference between how a filter and the rendering engine parse a comment sequence.
-
Exploit a listener that uses indexOf for the origin check or trusts a whitelisted origin that itself has XSS.
Seen in 1 report
-
Exploit HTML metadata from a remote document to influence rendering.
Seen in 1 report
-
Exploit non-standard cookie parsing, such as accepting commas as delimiters, to inject extra cookies and control ordering.
Seen in 1 report
-
Exploit the gap between a HEAD content-type check and a separate GET fetch to serve different responses to each.
Seen in 1 report
-
Exploit the unencoded URL generation only in Internet Explorer, since other browsers encode the parameters.
-
Feed a blocked endpoint to an automated XSS payload tool to find a working payload when Cloudflare blocks manual attempts.
Seen in 1 report
-
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
-
Filtering applied in the wrong order, so nested keywords survive the WAF and become a handler after stripping.
Seen in 1 report
-
Find a location in the source where the input is filtered differently and use it to get past the WAF.
Seen in 1 report
-
Find the origin IP of a server behind Cloudflare and send requests directly to it to bypass the WAF.
Seen in 1 report
-
Firefox executed script in an XML document sent as text/plain with nosniff, unlike Chrome and Safari.
-
Forcing a login via CSRF so stored XSS can read a sensitive window's DOM.
Seen in 1 report
-
Forcing quirks mode in an iframe and adding path segments makes the browser request a different stylesheet path.
-
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
-
Frame the vulnerable page invisibly and position its button under the cursor so a click triggers the script.
Seen in 1 report
-
Fuzz tags and events to find a combination the WAF does not block, then trigger scrolling with a hash fragment.
-
Get a script inserted by trusted extension code so it passes strict-dynamic CSP.
Seen in 1 report
-
Get around HttpOnly by having the victim's browser fetch a phpinfo page that prints all cookies.
Seen in 1 report
-
Get past a filter that blocks equals signs and brackets to reach script execution.
Seen in 1 report
-
Get past a startsWith allow-list on the use element href by appending a path traversal after the allowed prefix.
Seen in 1 report
-
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
-
HTML comments inside attribute names and character references got past simple pattern matching.
Seen in 1 report
-
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
-
HTML entities bypassed the chat filter.
Seen in 1 report
-
HTML entity encoding of a javascript URI got past the URL scheme filter.
Seen in 1 report
-
HTML entity encoding of a payload bypassed a filter that did not decode entities before checking for dangerous tags.
Seen in 1 report
-
HTML entity encoding of an SVG payload bypassed the WAF after plain payloads were blocked.
Seen in 1 report
-
HTML injection bypasses the homescreen app's DOM sanitiser.
Seen in 1 report
-
HTML injection in post links overrode document functions via DOM clobbering and crashed the application.
Seen in 1 report
-
$1,500 Medium
-
-
HTML rendered via jQuery executed script tags even under a strict-dynamic CSP.
Seen in 1 report