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 decline-note field was rendered as HTML without sanitisation, unlike the other invite fields that were filtered.
Seen in 1 report
-
The decrypted cookie value was rendered without sanitisation, and front-end and back-end servers disagreed on request boundaries.
Seen in 1 report
-
The decrypted message was inserted into the page as HTML inside a textarea without escaping or sanitising it, allowing tag breakout.
Seen in 1 report
-
The deep link handler did not validate the URL, and the WebView leaked the access token in the Authorization header.
Seen in 1 report
-
The default branch name was not escaped when rendered in the duplicate dashboard modal.
Seen in 1 report
-
The default sanitiser used a regular expression that only removed script elements.
Seen in 1 report
-
The default webcal protocol handler sends the full webcal URL to a third-party site that reflects it into a page without sanitisation.
-
The defaulted copy constructor for keyframes rules shallow-copied keyframe pointers, and Reattach did not reattach child CSSOM wrappers, so mutations reached the shared stylesheet.
Seen in 1 report
-
The description field allows raw HTML, and the partner site renders it without escaping.
-
The description field was stored and rendered without output encoding.
Seen in 1 report
-
The description parameter of a bot app manifest was not validated or sanitised.
Seen in 1 report
-
The design filename was not escaped before being inserted into an HTML attribute, and the markdown link generator used string interpolation.
Seen in 1 report
-
$16,000 Critical
-
-
The desktop client exposed Electron's shell.openExternal to untrusted webview content without restricting URLs or schemes.
Seen in 1 report
-
The destination parameter was not validated before use in a redirect, and the password was stored in a cookie without HttpOnly.
Seen in 1 report
-
The destination parameter was passed to a redirect or navigation sink without checking for a safe http(s) URL.
Seen in 1 report
-
The destination parameter was validated with a loose pattern that only required a whitelisted hostname to appear after any scheme, and the value was written into a script context where duplicate parameters were joined.
Seen in 1 report
-
The devtools evaluation API was missing from the list of APIs restricted on a protected domain.
Seen in 1 report
-
The diagnostics feature failed to sanitise or encode filenames before rendering them in a web page.
Seen in 1 report
-
The directory listing code concatenated the request path into HTML without escaping it, and the path could be manipulated through traversal sequences.
Seen in 1 report
-
The directory listing template inserted file and folder names into HTML without encoding or validating them.
Seen in 1 report
-
The directory path was inserted into the index page without HTML encoding, unlike file names.
-
The disabled-attribute handler created a local event queue scope that flushed events synchronously, and the atomic move did not wrap its operation in an outer event queue scope.
Seen in 1 report
-
The disabled-or-readonly handler released mouse capture without an event queue scope, so the change event ran synchronously in the middle of an atomic DOM move.
Seen in 1 report
-
The discussion title was stored and rendered into the email view without output encoding.
-
The display-attachment endpoint set only Content-Type and streamed HTML bodies directly, unlike the general viewer which wraps HTML safely and sets a script-blocking CSP.
Seen in 1 report
-
The document title was inserted into a JavaScript string without output encoding.
Seen in 1 report
-
The domain of a script URL was validated with weak regular expressions or string parsing instead of a strict comparison.
-
The domain validation regex was not anchored to the start of the string, and the response was inserted via innerHTML without sanitisation.
Seen in 1 report
-
The drag-and-drop handler did not sanitise dropped content.
Seen in 1 report
-
Medium
-
-
The dst parameter was reflected into a JavaScript context without sanitisation, and the auth cookie lacked the Secure flag.
Seen in 1 report
-
The edit endpoint used a predictable numeric identifier without checking the admin's organisation.
Seen in 1 report
-
The editor did not sanitise content before rendering, and the copy action triggered rendering of stored markup.
Seen in 1 report
-
The editor field stored and rendered HTML tags such as iframes without filtering or sanitising.
Seen in 1 report
-
The element picker accepted messages from any website without authentication, and an option field was not sanitised, allowing newline injection.
Seen in 1 report
-
The element-path renderer inserted a decoded data attribute as HTML rather than text, and a development commit removed the setting that had disabled this path.
Seen in 1 report
-
The email address parameter on one path was not sanitised or encoded, while similar forms elsewhere blocked the payload.
Seen in 1 report
-
The email address was inserted into the HTML email template without sanitisation or validation.
-
The email body is not sanitised, allowing HTML tags to render.
Seen in 1 report
-
The email change form did not verify the request came from the user, such as by requiring the current password.
Seen in 1 report
-
The email content filter did not block a link tag with an import relation.
Seen in 1 report
-
The email field value was echoed into the response without encoding.
Seen in 1 report
-
The email field was not sanitised or encoded before being reflected in the response.
Seen in 1 report
-
The email field was reflected unsanitised, the auth cookie was shared across subdomains, and the API allowed cross-origin requests from any subdomain.
Seen in 1 report
-
The email input was rendered without the output encoding applied to other fields.
Seen in 1 report
-
The email preview text was embedded into a script block without encoding angle brackets, so the script tag could be closed and new script injected.
Seen in 1 report
-
The email query parameter was reflected into the HTML page without proper output encoding or validation.
Seen in 1 report
-
The email service inserted the display name into outgoing mail HTML without encoding.
Seen in 1 report
-
The email subject was inserted into the reply view without output encoding.
Seen in 1 report
-
The email template rendered the video title without HTML-encoding it.
Seen in 1 report
-
The email-to-friend endpoint lacked an authorisation check on the BlogID parameter.
Seen in 1 report