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.
-
Steal a non-HttpOnly CSRF token cookie and use it to change the victim's password without the current password.
Seen in 1 report
-
Store a javascript: URL in a URL setting and reach the original tab through window.opener to steal a CSRF token in dashboard URL settings.
Seen in 1 report
-
Style tags are allowed by default in DOMPurify, so injected CSS can be used to leak data.
Seen in 1 report
-
Submit a payload using Unicode-encoded characters in the link to bypass a WAF that only matches literal keywords.
Seen in 1 report
-
Supply a URL containing the trusted domain anywhere in the string to pass an unanchored regex in fragment-loaded AJAX.
Seen in 1 report
-
Use an SVG onload payload with HTML entity encoding to evade the WAF in a search parameter.
Seen in 1 report
-
Use an SVG with an onload handler to get past a Cloudflare WAF that blocked basic payloads.
Seen in 1 report
-
Swap a blocked alert call for a different dialog function to get script execution past a function blacklist.
Seen in 1 report
-
Switch the request method between POST and GET when the server rejects modified fields in signup form validation.
Seen in 1 report
-
Switch the primary language to Vietnamese to make the translator render HTML that other languages encoded.
Seen in 1 report
-
Switch the request to JSON format and place the payload in an array field to bypass the WAF.
Seen in 1 report
-
Symlink the WebView cookie store into the attacker app's readable directory to exfiltrate cookies on Android.
Seen in 1 report
-
Use a template literal expression to avoid quotes and parentheses in an older API version.
Seen in 1 report
-
Test whether a host check can be bypassed in Safari because it returns a non-empty host for javascript URLs.
Seen in 1 report
-
Test whether an uppercase transformation defence can be bypassed by relying on HTML entity decoding.
Seen in 1 report
-
Test whether the site's CSP can be bypassed in older Firefox versions when HTML injection is possible.
Seen in 1 report
-
The API validated the track name on initial save but not on the edit request.
Seen in 1 report
-
The blocking rule matched only HTTP and HTTPS and omitted the WebSocket resource type in a content rule list.
Seen in 1 report
-
The browser ignored the attachment disposition when the file was loaded as a sub-document via embed or object.
Seen in 1 report
-
The clipboard HTML sanitiser did not strip event handler attributes on elements nested inside SVG style content in Firefox clipboard paste.
Seen in 1 report
-
The CSP allowed script sources on third-party domains hosting JSONP endpoints, so the policy could be bypassed.
Seen in 1 report
-
The CSP and request filter applied only to small files loaded as data URLs, while larger files loaded from file URLs without protections in the Preview pane.
Seen in 1 report
-
The CSP did not block the object tag used for the payload.
Seen in 1 report
-
$1,600 Medium
-
-
The CSP trusted a payment provider, so an iframe to that domain could be embedded in the AI code preview chat.
Seen in 1 report
-
The dashboard CSP blocked the button href execution; disabling CSP in the browser showed the payload would otherwise run.
Seen in 1 report
-
The denylist fix was bypassed with an event handler it did not block and obfuscated strings in a welcome banner filter.
Seen in 1 report
-
The earlier fix only blocked a specific encoding bypass rather than encoding double quotes in the reflected path in canonical links.
Seen in 1 report
-
The email-change action trusted only the Referer header, which same-origin script could satisfy.
Seen in 1 report
-
The embed endpoint allowed framing despite X-Frame-Options, and the clipboard API let the attacker pre-fill the payload for the victim to paste in Imgur.
Seen in 1 report
-
The endpoint did not restrict its response content type, so the attacker-supplied Accept header decided how the response was served.
-
The exploit was blocked by Content Security Policy on a program asset identifier.
Seen in 1 report
-
The exported main activity trusted a URL extra without the scheme and URI checks applied by the launcher activity.
Seen in 1 report
-
The filter blocked specific strings such as the onerror attribute, so an alternative tag and attribute got through in a search parameter.
Seen in 1 report
-
The filter only blocked lowercase script tags, so other casing or tags got through in a basic XSS filter.
-
The filter only encoded parameters containing an opening bracket immediately followed by a closing one in multi-parameter reflection.
Seen in 1 report
-
The filter only matched complete tags ending in a closing angle bracket, so an unclosed tag bypassed it in a tag-stripping filter.
Seen in 1 report
-
The filter only stripped plain-text script patterns and did not decode or block encoded payloads inside embed tags.
Seen in 1 report
-
The filter stripped only script tags, so an image tag with an error handler executed.
Seen in 1 report
-
The fix for an earlier HTML injection was incomplete and other HTML gadgets still rendered in the code flow view.
Seen in 1 report
-
The fix for the stored script on the sign-in page was incomplete and a later bypass restored the same impact.
-
Place the Flash MIME string in a parameter echoed into the Content-Type header to bypass nosniff.
Seen in 1 report
-
The forbidden-scheme filter did not account for placeholder keywords such as a branch placeholder that could be replaced with a dangerous scheme in an editor link preference.
Seen in 1 report
-
The frontend used AngularJS, so injected markup could bypass the Content Security Policy and execute in a Google Code-in JSON script block.
Seen in 1 report
-
The GET request stripped special characters but a POST request with the same parameter did not in a search parameter.
Seen in 1 report
-
The input filter only blocked literal angle brackets and did not decode HTML entities before checking in Imgur album creation.
Seen in 1 report
-
Medium
-
-
The input filter only removed one angle bracket, so adding an extra one let an image tag with an error handler through.
Seen in 1 report
-
The length limit applied only to the first name field, so a short script tag loading an external script fitted in the shared-list title.
-
The listener only checked for http: or https: prefixes, which an iframe-based message could get around in postMessage listeners.
Seen in 1 report
-
The maker portal URL only needed to start with the trusted domain, so a lookalike domain beginning with that name passed.
Seen in 1 report
-
The normal cross-process rejection of javascript: URLs was bypassed by forging the IPC message with a system principal.
Seen in 1 report