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 parser unescapes HTML entities before rendering and the sanitiser only removes script-relevant elements, not style tags or attributes.
Seen in 1 report
-
Part of the request URI was reflected into the Location header and page body without validation.
Seen in 1 report
-
A URL parameter was passed directly to document.write inside a select context without encoding or validation.
Seen in 1 report
-
An untrusted Intent extra was passed into a JavaScript function that sets innerHTML.
-
The password change endpoint lacked CSRF protection beyond the session cookie.
Seen in 1 report
-
Paste handling accepted a data-trix-attachment attribute containing HTML without sanitising.
Seen in 1 report
-
Pasted HTML was inserted into the page without sanitisation, so event-handler attributes executed.
Seen in 1 report
-
The pathname was concatenated into a base href without validation, letting a protocol-relative path change the origin for relative loads.
Seen in 1 report
-
PDF metadata values were inserted into the HTML page without encoding or sanitising.
-
PDFs were served inline without sanitisation and the file endpoint used a guessable numeric identifier without an ownership check.
Seen in 1 report
-
A permission check treated user ID zero as a valid match and stored values were returned without XSS filtering.
Seen in 1 report
-
A placeholder value was concatenated into an HTML string without encoding.
Seen in 1 report
-
User-controlled input was placed directly into HTML meta tags without validation, output encoding or scheme allow-listing.
-
The plugin failed to sanitise input and enforce authorisation on translation submission.
Seen in 1 report
-
Policy management did not properly validate user-supplied data.
Seen in 1 report
-
Poll content was stored without sanitisation and later rendered as HTML in the notification view on the main domain.
Seen in 1 report
-
Post content was stored unsanitised and rendered unsafely in the admin dashboard.
Seen in 1 report
-
A POST parameter was echoed without escaping in a template file.
Seen in 1 report
-
A POST parameter was reflected into a textarea without encoding.
Seen in 1 report
-
Post titles were rendered without sanitising script markup.
Seen in 1 report
-
postMessage handlers did not validate message origin and did not sanitise SVG content before rendering.
Seen in 1 report
-
postMessage listeners lacked origin validation and passed attacker-controlled data into HTML attributes and iframe sources.
Seen in 1 report
-
PowerShell's curl alias resolved to Invoke-WebRequest, which parses and renders fetched content.
Seen in 1 report
-
Preview iframe handlers trusted any sender and replied with a wildcard target origin.
-
Product names were placed into a meta tag content attribute without escaping quotes or angle brackets.
Seen in 1 report
-
Profile input was not sanitised when edited and was embedded directly into notification emails.
-
The profile name was stored without sanitising and inserted unescaped into the HTML body of invitation emails.
Seen in 1 report
-
Profile names were stored without validation or encoding, and state-changing actions used GET without anti-CSRF tokens.
Seen in 1 report
-
Project names were stored without sanitising or encoding before rendering in invitation emails.
Seen in 1 report
-
Provider documentation links were not sanitised before rendering.
Seen in 1 report
-
The proxy endpoint did not filter the X-Accel-Redirect header.
Seen in 1 report
-
The proxy reflected user-controlled content without sanitisation and relied on a CSP that some browsers ignore.
Seen in 1 report
-
Public form input was saved as post meta and output in the admin edit screen without escaping.
-
Query parameter values were written into the page via document.write without encoding.
Seen in 1 report
-
Query parameters were reflected into HTML input attributes without encoding.
-
Query parameters were reflected into HTML without encoding or validation.
Seen in 1 report
-
Query-string data was reflected into a form action attribute without output encoding.
Seen in 1 report
-
Quote filtering was relied on but mass assignment allowed injecting unfiltered quotes.
Seen in 1 report
-
Quotes in input placed inside an event handler attribute were not filtered or encoded.
Seen in 1 report
-
Raw HTML in markdown was passed to the renderer without sanitising.
Seen in 1 report
-
Raw HTML stored in the organisation name was rendered without escaping or sanitising.
Seen in 1 report
-
Raw POST input was stored in the session and rendered in a template without output encoding, and the login form had no CSRF protection.
Seen in 1 report
-
Raw textarea input was saved and printed into an admin page without escaping.
Seen in 1 report
-
The raw User-Agent was inserted into the HTML body of a reset email without encoding.
-
RDoc wiki pages allowed unsanitised HTML attributes in image links.
Seen in 1 report
-
Reader mode did not properly sanitise the page title or description before inserting it into the reader view, allowing script injection.
Seen in 1 report
-
Reader view replaced a placeholder in the page title with escaped DOM content, allowing injection.
Seen in 1 report
-
The reason field was stored and rendered to admins without output encoding.
Seen in 1 report
-
Reblogged post content was rendered without sanitising form elements and their javascript scheme formaction attributes.
Seen in 1 report
-
The redirect page did not encode parameters and the WebView exposed a JavaScript bridge.