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.
-
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
-
Use URL encoding and a Unicode escape in the handler to get past the tag and alert filters.
Seen in 1 report
-
Use URL encoding to bypass scheme validation on a mobile deep link.
Seen in 1 report
-
URL-encode parts of the payload when angle brackets are filtered in a POST parameter in JavaScript.
Seen in 1 report
-
URL-encode special characters that the server rejects in URI components and resend the payload.
Seen in 1 report
-
URL-encode the payload so only the encoded quote and other characters get through the filter in a search field.
Seen in 1 report
-
URL-encode the payload to get past the WAF.
Seen in 1 report
-
URL-encode the payload when a contact form rejects plain payloads.
Seen in 1 report
-
URL-encode the whole payload when a double quote is HTML-encoded.
Seen in 1 report
-
URL-encode the payload to bypass filtering in signup and project name fields.
Seen in 1 report
-
Use a backslash in a URL inside an allowed anchor tag to bypass double-slash filtering and form a valid link.
-
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
-
Use a backtick-based JavaScript payload to avoid a blacklist of parentheses and other characters in Flash files.
Seen in 1 report
-
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
-
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
-
Use a caret character in a URL to bypass the XSS filter.
Seen in 1 report
-
Use a Chrome-specific event handler that the WAF blocklist misses.
-
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
-
Use a cross-domain iframe navigated to about:blank to read window.name and exfiltrate data despite CSP.
Seen in 1 report
-
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
-
Use a DOM-based technique that reads the payload from the URL hash so the server-side filter never sees it.
-
Use a DomPurify bypass payload in a description field of an API specification in Swagger UI.
Seen in 1 report
-
Use a double quote to break out of an attribute and add an event-handler attribute without needing angle brackets.
-
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
-
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
-
Use a headline that writes the URL fragment into the page to bypass length limits in a story headline.
Seen in 1 report
-
Use a hidden input element with a newer CSS visibility event handler that the WAF rules do not recognise.
Seen in 1 report
-
Use a javascript: scheme in the return_to parameter on an instance without CSP in Safari in Jira connect.
Seen in 1 report
-
$1,130 Medium
-
-
Use a jQuery helper to execute script despite the CSP after HTML attributes survive sanitisation.
Seen in 1 report
-
Medium
-
-
Use a JSON unicode null byte to get past URL validation in input filters.
Seen in 1 report
-
Use a lesser-used styling attribute to get past a sanitiser in a profile bio.
Seen in 1 report
-
Use a longer polyglot payload when a simple payload is sanitised in a translation sanitiser.
Seen in 1 report
-
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
-
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
-
Use a newline to defeat a URL validation regex that used line anchors instead of string anchors in external link validation.
-
Use a no-cors fetch to work around WAF restrictions on cross-origin requests in VueJS.
Seen in 1 report
-
Use a non-BMP whitespace character that truncates to a 16-bit line terminator to bypass WAF and XSS filters in Firefox.
-
Use a null byte in the mention displayName to get past filtering, and escape the AngularJS sandbox to reach code execution in chat mentions.
-
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
-
Use a null byte to split a blocked keyword and get past a WAF in an embeddable listing frame.
-
Use a null-byte sequence and a GIF signature to get an HTML file past upload validation in image uploads.
Seen in 1 report
-
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
-
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.
-
Use a sandbox escape payload after determining the AngularJS version.
Seen in 1 report
-
Use a script scheme in the redirect parameter instead of a normal URL in a login redirect.
Seen in 1 report
-
Use a semicolon before the payload to get past a filter that strips it in an embeddable listing frame.
-
Use a short script tag pointing to an external domain when a field enforces a 20-character limit.
Seen in 1 report
-
Use a single quote in the URL credentials portion on Firefox to break out of a script string.
Seen in 1 report
-
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.
-
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