In-depth lesson · XSS
Root causes
Every point the XSS reports back under this heading, best-backed first, each with the reports it is seen in.
-
The BBCode helper HTML-encoded input but then applied regex replacements that inserted unencoded quotes, allowing attribute breakout.
Seen in 1 report
-
The BBCode URL parser failed to sanitise or encode user input, allowing attribute injection.
Seen in 1 report
-
$1,500
-
-
The bgcolor parameter was concatenated into a style block without validation or escaping.
-
The binary-format allowlist omitted the MathML type, so the file was served inline as active content.
Seen in 1 report
-
The blob API served SVG files with a content type that made the browser execute embedded script.
Seen in 1 report
-
The blob viewer allowed the use tag and checked its href with a startsWith allow-list instead of resolving the path.
Seen in 1 report
-
The blocklist of forbidden attribute substrings used when deciding whether an element is nonceable is incomplete.
Seen in 1 report
-
The blur event dispatched during ChildrenChanged ran synchronously without checking the atomic move flag.
Seen in 1 report
-
The bookmark URL was validated only in the client-side UI, so the server accepted a javascript: URI sent directly.
Seen in 1 report
-
The bookmarks page concatenated user input into jQuery HTML methods and was exposed through web_accessible_resources.
Seen in 1 report
-
The branch name was inserted into the merge request page without HTML encoding.
Seen in 1 report
-
The branding ID parameter was not validated, allowing path traversal in a script URL and abuse of a callback parameter.
Seen in 1 report
-
The browser allowed a top-level navigation to a javascript URL from a sandboxed frame without re-checking the script permission.
Seen in 1 report
-
The browser applies the base-uri restriction to the element but still uses the injected base for relative image URLs.
Seen in 1 report
-
The browser did not block javascript: URLs entered in the address bar or received via a redirect.
Seen in 1 report
-
The browser did not block javascript: URLs used as the target of an HTTP 302 redirect.
Seen in 1 report
-
The browser did not enforce attachment disposition for multipart/x-mixed-replace responses.
Seen in 1 report
-
The browser did not fully isolate the JavaScript context of a javascript URL when target blank was used.
Seen in 1 report
-
The browser did not isolate the origin of a data: URI reached via a 302 redirect.
Seen in 1 report
-
The browser did not reset the address bar when opening a non-http URI in a new tab.
Seen in 1 report
-
The browser failed to isolate a javascript: URL opened via a new window from the top-level origin.
Seen in 1 report
-
The browser kept the origin of the initiating document when reloading an isolated data: URL.
Seen in 1 report
-
The browser process merged renderer-supplied DevTools session state without validating which keys or values were allowed.
Seen in 1 report
-
The browser reused a stored search term as a navigable address without validating its scheme.
Seen in 1 report
-
The browser treated its own resource scripts as trusted for policy purposes, so a page could load a bundled loader and have it run attacker-supplied code.
Seen in 1 report
-
The browser's 'strict-dynamic' handling wrongly allowed inline event handler attributes on certain elements instead of blocking them.
Seen in 1 report
-
The browser's policy implementation did not apply the script-src none restriction to SVG accessKey event handlers.
Seen in 1 report
-
The bucket allowed unauthenticated PUT requests and served uploaded files and admin JavaScript from writable public storage.
-
The bulk editing page reflected URL parameters into HTML without encoding.
Seen in 1 report
-
The business name was not sanitised or encoded before being stored and rendered in invitation emails.
Seen in 1 report
-
The cache did not include the X-Forwarded-Host and X-Rewrite-Url headers in its cache key, and the OAuth callback handler used a cookie value to determine the redirect destination without proper validation.
Seen in 1 report
-
The cache stored the response after sanitisation only on the first request, so a repeated request returned raw input.
Seen in 1 report
-
The caching layer and application parsing duplicate cookies differently, and the application reflecting cookie values into a script context without sanitisation.
Seen in 1 report
-
The calendar invitation's meeting link was rendered without proper output encoding.
Seen in 1 report
-
The cancel_url parameter was written into the DOM without sanitisation.
Seen in 1 report
-
The card name input was stored and rendered without HTML encoding.
Seen in 1 report
-
The card renderer reflected user input into an inline JSON block without safely escaping the closing script tag, and the CSP allowed a JSONP endpoint on a whitelisted domain.
Seen in 1 report
-
The careers site reflected input without encoding, and an analytics endpoint reflected a callback parameter into JavaScript without validation.
Seen in 1 report
-
The cart property value was stored and inserted into the page without output encoding.
Seen in 1 report
-
The category_id parameter was included in the HTML response without sanitisation or encoding.
Seen in 1 report
-
The CDN did not enforce a safe content type and angle brackets in uploaded files were not encoded.
Seen in 1 report
-
The CDN did not enforce a safe content type or Content-Disposition header, and the image pipeline preserved attacker data in PNG IDAT chunks.
Seen in 1 report
-
The CDN update process did not fetch the newly released fixed library version.
Seen in 1 report
-
The cfg parameter was inserted into a script context without escaping the backslash character.
Seen in 1 report
-
The CGI script echoed query parameters into the HTML response without encoding or validating them.
Seen in 1 report
-
The CGI script passed the email parameter into HTML output and into a shell command without sanitising or escaping.
Seen in 1 report
-
The change handler wrote user-controlled values into the DOM with unsafe insertion rather than text-safe methods.
Seen in 1 report
-
The channel API stored raw HTML and select boxes were built without encoding.
Seen in 1 report
-
The charset parameter was reflected without encoding and the WAF blocklist missed a tag and event pair.
Seen in 1 report
-
The chat feature did not sanitise HTML before including it in email notifications.
Seen in 1 report