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.
-
User strings were passed to a JavaScript bridge call without escaping, letting an attacker break out of the string context.
-
User-controllable input was concatenated into JavaScript strings and shell commands without encoding, because variables were assumed safe.
Seen in 1 report
-
A user-controlled artist name was inserted into HTML contexts without output encoding.
Seen in 1 report
-
User-controlled cookie values were embedded in HTML without escaping, and the cookie parser split on spaces instead of semicolons.
Seen in 1 report
-
User-controlled cookie values were reflected without sanitisation.
Seen in 1 report
-
User-controlled CSS was injected into pages without sanitisation, allowing selector-based data exfiltration.
Seen in 1 report
-
User-controlled CSS was injected into the page without sanitisation and the page lacked X-Frame-Options.
Seen in 1 report
-
User-controlled data from a data-url attribute was concatenated directly into HTML and inserted via innerHTML.
Seen in 1 report
-
User-controlled data from the URL and cookies was inserted with innerHTML without sanitisation, and a cookie value was reflected on every page.
Seen in 1 report
-
User-controlled data was concatenated into an HTML string and inserted with innerHTML.
-
User-controlled data was output before the CSP header, and when output exceeded the buffer size the header was dropped.
Seen in 1 report
-
User-controlled error messages were inserted into the DOM as raw HTML behind an incomplete tag blacklist, and the client-side encryption key was exposed in public JavaScript.
Seen in 1 report
-
User-controlled fragment keys were assigned into nested objects without blocking prototype-related property names.
-
A user-controlled full name was not escaped when rendered in search results.
Seen in 1 report
-
User-controlled GET parameters were passed to Smarty templates without escaping.
Seen in 1 report
-
User-controlled HTML from PDF filenames and editor input was stored and rendered without sanitisation or encoding.
Seen in 1 report
-
User-controlled input from query strings, form fields and headers was written into HTML output without encoding or validation.
Seen in 1 report
-
User-controlled input from the URL fragment was assigned to innerHTML without sanitisation.
Seen in 1 report
-
User-controlled input from the URL was reflected into the signin or init page without encoding or validation.
Seen in 1 report
-
User-controlled input in URLs was not sanitised before use in a script-executing context.
Seen in 1 report
-
User-controlled input was merged into an object without filtering special keys, allowing prototype pollution.
-
User-controlled input was reflected into an XML response without sanitisation, allowing HTML tags via XHTML.
-
User-controlled input was reflected into HTML without encoding, and session cookies were separately exposed in a way that allowed capture.
Seen in 1 report
-
User-controlled item fields were rendered without context-aware output encoding, and the WAF's pattern matching could be bypassed with crafted attributes.
Seen in 1 report
-
User-controlled item titles were rendered as HTML in error and notification messages, and tokens sat in local storage.
Seen in 1 report
-
User-controlled name fields were concatenated into a JavaScript string literal without escaping quotes.
Seen in 1 report
-
A user-controlled parameter was inserted into a style attribute without escaping the url() context.
Seen in 1 report
-
User-controlled parameters were inserted directly into a JavaScript string without escaping, and the filter only removed single quotes.
Seen in 1 report
-
User-controlled parameters were inserted into the DOM via innerHTML without sanitisation.
Seen in 1 report
-
User-controlled parameters were reflected into HTML or JavaScript without encoding or validation.
Seen in 1 report
-
User-controlled tag values were rendered as HTML while the renderer had Node/Electron integration enabled.
Seen in 1 report
-
A user-controlled URL parameter was assigned to a navigation sink without checking for a safe relative path.
Seen in 1 report
-
A user-controlled URL parameter was passed directly as an orderBy predicate.
Seen in 1 report
-
User-controlled URL parts were concatenated into a toolbar command string without validation.
Seen in 1 report
-
User-controlled values were inserted with innerHTML, and the config endpoint accepted cross-origin requests without a token.
-
User-controlled values were concatenated into HTML strings in JavaScript without escaping.
Seen in 1 report
-
User-supplied content in the bug report was stored and rendered in Jira without proper sanitisation.
-
User-supplied content saved by the plugins was not neutralised before being shown in the WordPress dashboard.
-
User-supplied content was insufficiently validated and encoded, so an external URL from a purchase description was embedded in a platform email without distinguishing it from trusted links.
Seen in 1 report
-
User-supplied content was not neutralised during web page generation, so script content was stored and later rendered as executable markup.
Seen in 1 report
-
User-supplied directive values were merged into CSS and inserted into the DOM with innerHTML.
Seen in 1 report
-
$3,000 High
-
-
User-supplied email content was rendered in the ticket view without HTML encoding.
Seen in 1 report
-
A user-supplied filename was stored unsanitised and rendered in an admin interface.
Seen in 1 report
-
User-supplied font URLs were inserted directly into a CSS import rule without sanitisation.
Seen in 1 report
-
User-supplied GIF titles were embedded into a meta tag without sanitising, allowing a meta refresh directive.
Seen in 1 report
-
User-supplied HTML in the full name was not escaped before being rendered in navigation.
Seen in 1 report
-
User-supplied HTML was stored and rendered without sanitisation.
Seen in 1 report
-
User-supplied input was inserted directly into HTML without any filtering or encoding.
Seen in 1 report
-
User-supplied input was inserted into generated web pages without proper encoding or validation.
Seen in 1 report
-
User-supplied input was not neutralised before being placed into generated web pages.
Seen in 1 report