In-depth lesson · Stored XSS
Root causes
Every point the Stored XSS reports back under this heading, best-backed first, each with the reports it is seen in.
-
The regular expression extracting multi-word label references from Markdown was too permissive and allowed script tags in the label name.
-
The product filter rendered the product type value into the page without encoding it.
Seen in 1 report
-
An outdated swagger-ui bundled an old DOMPurify that did not properly sanitise HTML.
Seen in 1 report
-
$2,000 Medium
-
-
A server-side syntax highlighting filter built HTML from unsanitised attributes, and a frontend emoji custom element inserted its name attribute into an image tag without escaping.
Seen in 1 report
-
The dashboard URL field accepted absolute URLs without validating the scheme, so a javascript URI was stored and rendered as a clickable link.
Seen in 1 report
-
The image link filter did not sanitise the alt attribute when replacing an image with a link.
Seen in 1 report
-
The quick-action contact list rendered contact names without HTML escaping.
Seen in 1 report
-
The deployment key title was inserted into HTML without escaping and rendered via jQuery, which executes script tags even under a strict-dynamic CSP.
Seen in 1 report
-
The desktop client rendered file names as HTML in its notification and dialog UI without escaping them.
Seen in 1 report
-
The dataset owner's name was rendered without HTML-escaping before output.
Seen in 1 report
-
The editor allowed data URLs as image sources, and the stored SVG's script ran when the image was opened directly.
Seen in 1 report
-
$5,300 Medium
-
-
A page widget referenced a JavaScript file in a cloud storage bucket that was no longer registered, allowing anyone to claim it.
Seen in 1 report
-
The application inserted the user-supplied filename into HTML without escaping.
Seen in 1 report
-
The application reflected a cookie into a JavaScript context without output encoding, and a quote-hiding mechanism created a parser differential that bypassed the WAF.
Seen in 1 report
-
The server trusted client-side link validation and stored the rich text without re-checking the link scheme.
Seen in 1 report
-
The diagram filter used the parent pre element's lang attribute without validating it and concatenated it into an image tag.
Seen in 1 report
-
$13,950 High
-
-
The source branch name was marked as HTML-safe without proper escaping.
Seen in 1 report
-
The application failed to escape user-controlled cookie values in HTML, and the cookie parser split on spaces instead of semicolons.
Seen in 1 report
-
The activation date value was stored and later rendered into the promocode lookup page without output encoding.
Seen in 1 report
-
$284 Medium
-
-
The application failed to sanitise the IP address field and served the stored data with a text/html content type.
Seen in 1 report
-
$1,337 High
-
-
The maintenance mode message was rendered without output encoding, allowing script tags to execute on every page load.
Seen in 1 report
-
The pronunciation value was inserted into an HTML string marked as safe without sanitisation.
Seen in 1 report
-
The code extracted text from a paragraph element and inserted it as HTML without sanitisation, so encoded script tags became active.
Seen in 1 report
-
The application name was rendered without sanitisation on the OAuth authorization page.
Seen in 1 report
-
The editor's paste handling accepted a data attribute containing HTML and inserted the embedded markup without sanitising it.
Seen in 1 report
-
$1,000 High
-
-
The top pages visualisation rendered page paths as clickable links without validating the URL scheme.
Seen in 1 report
-
The application inserted untrusted SMTP error text into the page using an HTML-rendering method without escaping it.
Seen in 1 report
-
Uploaded HTML files were served with a text/html content type without sanitisation or a restrictive Content-Disposition header.
Seen in 1 report
-
The sanitiser validated pasted HTML before the browser parser mutated it into a different executable structure.
Seen in 1 report
-
The proxy endpoint did not filter the X-Accel-Redirect header, letting Nginx serve uploaded HTML inline.
Seen in 1 report
-
Content-type validation only checked headers that were present and did not reject requests with no Content-Type header.
Seen in 1 report
-
Text content of a DOM element was assigned to innerHTML without sanitisation.
Seen in 1 report
-
Placeholder replacements were not escaped when placed inside a span tag.
Seen in 1 report
-
The wiki page title was used as link text without HTML sanitisation.
Seen in 1 report
-
The export inserted user-controlled message content and usernames into HTML without escaping and set no Content-Security-Policy.
Seen in 1 report
-
The tooltip was built by string concatenation of attribute values and passed to a jQuery method that re-parses the string as markup.
-
The event log appended the raw exception message to an HTML string and rendered it with a component that resolves external file and UNC URLs.
Seen in 1 report
-
A user-supplied greeting was rendered as markdown without sanitising javascript: URLs and the endpoint lacked CSRF protection.
Seen in 1 report