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.
-
Stored input was inserted into the page without output encoding or sanitisation.
Seen in 3 reports
-
A currency formatting value was stored and rendered into admin pages without output encoding.
Seen in 2 reports
-
The question edit view rendered the stored product name as raw HTML without sanitising or escaping it.
Seen in 2 reports
-
The label colour value from imported data was inserted into the page without sanitisation.
Seen in 2 reports
-
SVG uploads were accepted and rendered without sanitising or blocking embedded script.
Seen in 2 reports
-
$100 Low -
$150 Medium
-
-
The scheme check compared against a literal string without normalising or stripping whitespace and control characters first.
Seen in 1 report
-
User-supplied topic titles were not encoded or sanitised before being rendered in the page.
Seen in 1 report
-
A cart property value was stored and inserted into the page without output encoding, letting quote characters break out of the surrounding script context.
Seen in 1 report
-
An upload field accepted a URL value and the checkout page rendered it as a link without restricting the scheme to http or https.
Seen in 1 report
-
The map attribution control rendered user-provided attribution as HTML without sanitisation.
Seen in 1 report
-
The map title was inserted into the share control's HTML without proper encoding.
Seen in 1 report
-
The plugin did not filter special HTML characters when generating error messages, so attacker-controlled input was stored and rendered in the admin dashboard.
Seen in 1 report
-
User-supplied content in suggested edits was not sanitised before rendering in the administrator dashboard, allowing template injection.
Seen in 1 report
-
The ticket subject was output into an HTML attribute without attribute escaping.
Seen in 1 report
-
A plugin logged a redirect URL query parameter without HTML sanitisation before displaying it in the admin panel.
Seen in 1 report
-
The editor's link handling did not validate javascript URIs when links were inserted via the WebSocket editing protocol, unlike the public preview.
-
The group name was inserted into a social description meta tag without output encoding.
Seen in 1 report
-
The app name was stored and rendered into the app page without HTML encoding.
Seen in 1 report
-
The variant option name was not encoded or validated before being rendered in the variant title element.
Seen in 1 report
-
Avatar property values were stored without sanitisation and the render error response was returned as HTML instead of a safe content type.
Seen in 1 report
-
The feedback endpoint stored fields without sanitising them and the internal review panel rendered the stored content as HTML.
Seen in 1 report
-
The search group name was stored and rendered into the discount page without output encoding, and the discount target fields were trusted from the request.
Seen in 1 report
-
The image host failed to sanitise newlines in the request path before writing it into response headers and served files based on a user-controlled extension.
Seen in 1 report
-
The linked account display name was inserted into a JavaScript string without escaping characters that can terminate the script context.
Seen in 1 report
-
The name value was stored as-is and rendered into the admin page without output encoding.
Seen in 1 report
-
$750 Critical
-
-
The admin panel rendered the merchant-supplied details value without HTML encoding and the site's content security policy allowed inline script.
Seen in 1 report
-
$350 Medium
-
-
A user-controlled value was placed into an inline onclick JavaScript string without escaping quotes or special characters.
Seen in 1 report
-
A username was inserted into the DOM by a JavaScript component without proper escaping or sanitisation.
Seen in 1 report
-
A member name was stored without sanitisation and later inserted into the activity feed HTML without output encoding.
Seen in 1 report
-
$2,000 High
-
-
A report URL field in an emoticon string was not validated, and jQuery AJAX handling evaluated JavaScript responses.
Seen in 1 report
-
The application reflected an untrusted X-Forwarded-Host header into page attributes that drive a client-side fetch, and the fetched JSON was written into the DOM without escaping.
Seen in 1 report
-
A username value was rendered in an AngularJS context without sanitisation, so template expressions were evaluated as code.
Seen in 1 report
-
A missing authorisation check when creating a tag allowed a user to add tags to an account they did not control.
-
An SVG sanitiser's whitelist was bypassed because an XML entity caused the parser to skip validation of elements and attributes.
Seen in 1 report
-
$3,000 High
-
-
A license report's URL field was rendered as a clickable link without validating or escaping the URL scheme.
Seen in 1 report
-
Upload validation only blocked known dangerous extensions instead of allowing only safe types, and the response omitted a Content-Type header, enabling MIME sniffing.
Seen in 1 report
-
A parameter was not sanitised before being stored and later rendered, and login and logout endpoints lacked CSRF protection.
Seen in 1 report
-
A delete button was built by concatenating unescaped user input into HTML instead of using a safe method to set attributes.
Seen in 1 report
-
Cache invalidation logic failed to detect changes to the note_html field because author and project associations were not tracked as changed attributes.
Seen in 1 report
-
$4,500 High
-
-
A folder name was stored and rendered without output encoding, and the folder-creation endpoint accepted cross-site requests without a CSRF token.
Seen in 1 report
-
A torrent filename was written into the local download page without sanitisation.
Seen in 1 report
-
Input normalisation converted a fullwidth less-than character into a regular less-than sign after, or without, proper HTML escaping.
Seen in 1 report
-
$1,000 High
-
-
A regular expression used to auto-link URLs in code blocks matched any word characters before a scheme separator, allowing dangerous protocols.
Seen in 1 report
-
A cookie-setting endpoint lacked origin checks and the site reflected a cookie value into a noscript tag without encoding.
Seen in 1 report
-
A forum's link-embedding iframe trusted a URL that could be redirected to a malicious address.
Seen in 1 report
-
An iOS app loaded user-supplied HTML in a WebView without sanitising it and with JavaScript enabled.
Seen in 1 report
-
The application rendered user-controlled data from location.hash and XHR responses without escaping, and served user-uploaded images from the same origin.
Seen in 1 report
-
$9,401
-
-
Post titles were inserted into the mod notes page without output encoding, so markup in the title was treated as code.
Seen in 1 report
-
A third-party dependency in the PDF viewer failed to HTML-encode special characters in PDF content.
Seen in 1 report
-
$4,875 High
-
-
The regular expression extracting multi-word milestone references from Markdown was too permissive and allowed angle brackets.