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 WAF rule set matched known payload patterns too narrowly, so a slightly altered payload was not recognised.
Seen in 1 report
-
The wallet address input was not sanitised or encoded before rendering, and the QR scanner passed the decoded value into the same field.
Seen in 1 report
-
The WASM sanitiser only replaced some HTML characters, so decoded user-controlled state reached the DOM in an executable form.
Seen in 1 report
-
The web application did not sanitise or encode user-supplied parameters before reflecting them.
Seen in 1 report
-
The web console failed to properly encode user-supplied names in HTML output, and the Jolokia API was exposed without authentication, allowing heap dumps to be written to web-accessible directories.
Seen in 1 report
-
The web interface rendered user-provided input without proper sanitisation, allowing script to be stored and executed for other users.
Seen in 1 report
-
The server did not set a safe Content-Type for uploaded files, and upload validation and rendering lacked sanitisation.
Seen in 1 report
-
The server did not validate incoming requests, so attacker HTML reached the password reset email.
Seen in 1 report
-
The web services interface did not properly validate user-supplied input in the SAML assertion consumer.
Seen in 1 report
-
Medium
-
-
The webmail did not neutralise user-supplied email content before rendering it as a web page.
Seen in 1 report
-
The webview accepted postMessage content without validating the sender's origin.
Seen in 1 report
-
The WebView had JavaScript enabled and loaded local HTML without validating it.
Seen in 1 report
-
The WebView rendering Markdown had Node integration off but context isolation was not enabled, so note script could override functions used by the main process.
Seen in 1 report
-
The welcome text was stored and served as raw HTML without proper sanitisation, and the follow-up fix relied on a denylist.
Seen in 1 report
-
The whitelist regex validated the domain but did not enforce the protocol.
Seen in 1 report
-
The whitelist used a substring match on the full URL rather than parsing and comparing the hostname.
Seen in 1 report
-
The widget scripts echo the city_id and language_id request parameters into the HTML response without encoding or validating them.
Seen in 1 report
-
The widget's Flash file rendered the owner name without escaping.
Seen in 1 report
-
The wiki rendered uploaded HTML files without sanitising or serving them with a restrictive content type, and no content security policy blocked inline scripts.
Seen in 1 report
-
The worker interpolated an unvalidated, unescaped on-chain label into a Telegram message parsed as Markdown.
-
The Worker interpolated attacker-controlled name data into a Telegram message sent with Markdown parsing enabled without escaping metacharacters.
Seen in 1 report
-
The worker read the raw name from the indexer and inserted it unescaped into Telegram legacy Markdown, push body, tag and click URL.
-
The Worklet security callbacks were never updated to mirror the Worker ones, so the Trusted Types callback slot is null and the eval check is absent.
Seen in 1 report
-
The workspace name was inserted into the page without encoding, so markup in the name was treated as HTML.
Seen in 1 report
-
The x-client-ver value was reflected unescaped into an attribute of an auto-submitted form, and the sensitive flow tokens in that form were reusable.
Seen in 1 report
-
The X-Forwarded-Host header was reflected into a font preload URL and CSS block without escaping, and responses were cached for a minute.
Seen in 1 report
-
$256 High
-
-
The X-XSS-Protection header was not configured, leaving browser default behaviour.
Seen in 1 report
-
The xiwindow parameter was reflected into the page without proper output encoding or sanitisation.
Seen in 1 report
-
The XML serialiser wrote attacker-controlled values into command attributes unencoded, and the session check only ran for POST requests.
Seen in 1 report
-
The XSLT error handler creates a new document and replaces the current one without checking the context.
Seen in 1 report
-
The XSLT stylesheet converting OpenOffice documents to XHTML allowed arbitrary HTML elements including script tags, and the output was not sanitised.
Seen in 1 report
-
The XSS Auditor's blocklist did not include the 'code' and 'url' parameters that Chrome's HTMLObjectElement also accepts for loading content.
Seen in 1 report
-
The XSS filter did not properly handle the caret character in URLs.
Seen in 1 report
-
The XSS filter modified meta tags that appeared in the query string, inadvertently disabling the CSP.
Seen in 1 report
-
The Zoom URL validator only checked that the input contained a Zoom link rather than that the whole value was a valid Zoom URL.
Seen in 1 report
-
Theme colour values were inserted into a stylesheet without validation or escaping.
Seen in 1 report
-
Theme variables were inserted directly into a CSS template without sanitising, letting a value break out of its property.
-
A third-party JavaScript library was not kept up to date, leaving known vulnerabilities unpatched.
-
Third-party search result content was inserted into the page without sanitisation.
Seen in 1 report
-
Ticket content was inserted into the HTML response without contextual output encoding, so the browser treated data as code.
-
Ticket description was inserted into outbound emails without sanitisation or encoding.
Seen in 1 report
-
Title and subtitle options are concatenated into an HTML string instead of inserted as text.
-
Tracker names were not HTML-encoded before rendering in the maintenance results page.
Seen in 1 report
-
Transport implementations did not validate message origins and allowed open redirects, and JSONP auto-detection turned a response into script.
Seen in 1 report
-
DNS TXT record contents were treated as trusted HTML.
Seen in 1 report
-
The trusted sites feature allowed injecting a new connect-src directive and the browser applied the first rule.
Seen in 1 report
-
The code trusted a global variable that can be created by DOM clobbering and wrote unsanitised query data with document.write.
Seen in 1 report
-
The code trusted a parent origin taken from the URL query string instead of the real sender origin.
Seen in 1 report
-
The code trusted an object element's type attribute to choose rendering when no Content-Type header is sent.
Seen in 1 report
-
Two different query string parsers were used without ensuring identical interpretation, creating a parser differential.