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.
-
Rely on iOS WebKit to ignore the declared text/plain content type.
Seen in 1 report
-
Rely on the text/plain content type to prevent script execution, which was bypassed because older browsers do not enforce it.
Seen in 1 report
-
Remove the greater-than character from the payload to get past a server error and still fire the script in a notification cookie.
Seen in 1 report
-
Remove the is attribute from the DOM, then re-parse the serialised output so the unencoded quote injects a handler in an HTML serializer.
Seen in 1 report
-
Remove the value of a signature parameter and check whether the check is bypassed.
Seen in 1 report
-
Remove a conversion parameter from an image URL to return the raw uploaded SVG.
Seen in 1 report
-
Remove the client-side length limit to let a longer payload reach the server in an operator wallet key name.
Seen in 1 report
-
Remove the maxlength attribute from the wallet name input to allow a longer payload in wallet and transaction fields.
Seen in 1 report
-
Rename an outer SVG element to a non-standard tag so the browser re-parses hidden markup in HTML context.
Seen in 1 report
-
Rename the malicious HTML file to include the target domain so the Referer check passes.
Seen in 1 report
-
Reorder query parameters to bypass the WebSocket parameter filter in DevTools device discovery.
Seen in 1 report
-
Replace a filtered function name with an alternative such as confirm, or use encoded keywords, to get past a blacklist in a returnurl parameter.
Seen in 1 report
-
Resend a form-encoded request as JSON so the JSON model binder skips ASP.NET request validation on a resource creation endpoint.
-
Reuse the site's own CSS rules and class-bound handlers by adding arbitrary class attributes to code and pre elements in a Markdown sanitiser.
Seen in 1 report
-
Reuse your own CSRF token in a victim's session.
Seen in 1 report
-
Rotate case and insert control characters into the javascript: scheme to evade the WAF scheme filter.
Seen in 1 report
-
Exploit sandbox checks applied to the original XML document but not to the XHTML document produced by the XSLT transformation in an iframe.
Seen in 1 report
-
Turn self-XSS into stored XSS because any user could edit another user's page and open its source view in a wiki.
Seen in 1 report
-
Send a combined content type of image/png,image/svg+xml so the server omits the CSP header while the browser still renders the SVG.
Seen in 1 report
-
Send a postMessage with a meta refresh dataKey from a sandboxed iframe to redirect the parent page in Xibo CMS.
Seen in 1 report
-
Send a simple HTML tag when the WAF only blocks script tags and see whether it renders live.
Seen in 1 report
-
Send a value with a blank line to spoof the response body and fire script via header injection.
Seen in 1 report
-
Send duplicate currency cookies so the cache stores a malicious value while the application uses a benign one.
Seen in 1 report
-
Send encoded variants of the less-than sign to find one the comment filter misses.
Seen in 1 report
-
Send many unclosed paragraph tags followed by an extra tag with an event handler so the HTML sanitiser allows the extra tag.
Seen in 1 report
-
Send the parameter twice so the checked value and the stored value differ in role creation.
Seen in 1 report
-
Send the payload by POST to avoid WAF rules that only apply to GET in a search JSON endpoint.
Seen in 1 report
-
Send the same parameters by POST to avoid a WAF that only inspected GET requests.
-
Serve the page as a message/rfc822 document so document mode inheritance reaches all IE11 users.
Seen in 1 report
-
Set a cookie with a capitalised __HOST- prefix on a sibling domain to bypass a nonce check.
Seen in 1 report
-
Set a JSON label's typesetAsMath flag to false so the renderer injects the label content into the page in SVG and JSON rendering.
Seen in 1 report
-
Set a legacy version cookie and a cookie with an opening quote so the parser swallows the HttpOnly cookie in a cookie reflection endpoint.
Seen in 1 report
-
Set request fields to enable an undocumented format that disables encryption and compression in a map data format.
Seen in 1 report
-
Set the field value directly from the browser console to bypass keyboard and paste filters, and use two script tags to get past a single-tag regex in a location tag field.
Seen in 1 report
-
Set the upload MIME type to a video transport stream type that WebKit-based mobile browsers interpret as HTML.
Seen in 1 report
-
Set user and course identifiers to zero to match an unauthenticated session in the permission check for storage APIs.
Seen in 1 report
-
Shorten the payload to get past a length limit in a profile name.
Seen in 1 report
-
Sign the headers with only an unsupported hash algorithm so the body verification passes on an empty digest list in signature-based SRI.
Seen in 1 report
-
Solve the CAPTCHA separately and replay the token in a cross-site form.
Seen in 1 report
-
Use specially encoded sender headers to bypass DMARC, DKIM, SPF and spam filters.
Seen in 1 report
-
Split a closing tag across two parameters to get past a WAF that strips event handlers, parentheses and closing tags.
Seen in 1 report
-
Split a payload across duplicate query parameters or insert a pipe character to get past a WAF in search features.
Seen in 1 report
-
Split a payload across multiple fields with equal lengths to get past a character limit, and use an endpoint that lacks the WAF.
Seen in 1 report
-
Split an HTML fragment across two name fields to get past a per-field length limit in a signup form.
Seen in 1 report
-
Split script tags to get past a WAF that strips script tags and blocks external script sources.
Seen in 1 report
-
Split the javascript scheme word to bypass filtering and add a script-src-elem directive to bypass CSP in a Booking notes filter.
Seen in 1 report
-
Split the payload across two parameters to bypass a WAF and Chrome's XSS Auditor in cookie-setting scripts.
Seen in 1 report
-
Split the keyword to get past the filter in the invitation name field.
Seen in 1 report
-
Spoof the forwarded host header alongside the payload to influence how the cached response is built.
Seen in 1 report
-
Start a javascript: URL with a comment and newline to bypass the required slash in a desktop client URL parser.
Seen in 1 report