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.
-
Stored address values were passed into a template engine without escaping, so template syntax was evaluated.
Seen in 1 report
-
Stored chat messages were rendered as raw HTML without context-aware output encoding or sanitisation.
-
Stored comment text was rendered into the HTML page without context-aware output encoding or sanitisation.
Seen in 1 report
-
Stored content was rendered as executable script rather than inert text during page generation.
Seen in 1 report
-
A stored description was rendered as raw HTML in search results without encoding or sanitising.
Seen in 1 report
-
Stored input was rendered back into pages without context-aware output encoding.
Seen in 1 report
-
Stored notice messages were echoed without HTML escaping.
-
Stored patient data was rendered into HTML without output encoding and input was not validated on the server.
Seen in 1 report
-
Stored profile values were rendered into HTML without context-aware output encoding.
Seen in 1 report
-
Stored user input was rendered directly into HTML without output encoding or input validation.
-
A stored value was rendered in the reviewer's interface without output encoding.
Seen in 1 report
-
Medium
-
-
A banner Name value was stored and output into the page without HTML encoding.
Seen in 1 report
-
Campaign and advertiser names were stored without sanitisation and rendered into an admin picker without HTML encoding.
Seen in 1 report
-
HTML-encoded input was stored, then the server decoded and returned it without sanitisation.
Seen in 1 report
-
Images were stored with metadata intact and metadata fields were inserted into HTML without encoding.
Seen in 1 report
-
Message content was stored and rendered without output encoding, relying only on client-side encoding.
Seen in 1 report
-
Sender name and company values were stored and printed into HTML without encoding.
Seen in 1 report
-
Sensitive authentication tokens were stored in client-side storage alongside a template injection vulnerability.
Seen in 1 report
-
User input in contact fields was stored and rendered to admins without sanitisation.
Seen in 1 report
-
Style tags were filtered but not sandboxed, so CSS escaped the preview pane.
Seen in 1 report
-
Submitted POST parameters were reflected into HTML without proper contextual output encoding.
Seen in 1 report
-
Survey answers were saved to the database without sanitising and later rendered unsafely in the admin interface.
-
SVG and HTML uploads were allowed without sanitising their content and served in a way that executed embedded script.
Seen in 1 report
-
SVG avatars were served from a route without a content security policy or content disposition header.
Seen in 1 report
-
SVG files were accepted and served without sanitising or restricting script content.
Seen in 1 report
-
SVG image files were not validated before being rendered in the mail app.
Seen in 1 report
-
The SVG sanitiser used a blocklist removing only script elements and on* attributes.
Seen in 1 report
-
SVG uploads were served with a content type or context that let the browser execute embedded script.
Seen in 1 report
-
SVG uploads were accepted and served from a first-party path without sanitising or sandboxing embedded script.
Seen in 1 report
-
SVG uploads were served without sanitisation or with a content type that permits script execution.
Seen in 1 report
-
SVG uploads with executable JavaScript were served from a shared domain while session cookies were scoped broadly to the parent domain.
Seen in 1 report
-
SVG was allowed and served with an image content type, so script inside it executed.
Seen in 1 report
-
SVG was placed on the same whitelist as passive raster images, so both extension and MIME checks accepted it, and the file was served without content inspection.
Seen in 1 report
-
Swagger UI used an outdated DomPurify library that could be bypassed.
Seen in 1 report
-
Synced URLs were copied into WebKit interaction state without restricting to safe schemes.
Seen in 1 report
-
Syslog data was rendered without sanitising or encoding.
Seen in 1 report
-
Task instance attributes were rendered via innerHTML and URL validation only checked for the substring http.
-
Template expressions in a reflected parameter were evaluated.
Seen in 1 report
-
Template names were not HTML-escaped when rendered in the dropdown.
Seen in 1 report
-
Template syntax in user input was not sanitised before rendering.
Seen in 1 report
-
Text was extracted from a paragraph element and inserted as HTML without sanitisation.
Seen in 1 report
-
The 'view image' action navigated to the image URL without checking its scheme.
Seen in 1 report
-
The 404 error page reflected the request path into the response body without HTML-encoding it.
Seen in 1 report
-
The 404 handler echoed the requested path into the HTML response without encoding.
Seen in 1 report
-
The 404 page reflected the requested URL path without sanitising or encoding.
Seen in 1 report
-
The 404 page reflected the requested URL path without sanitising or encoding it.
Seen in 1 report
-
The account name was not sanitised before embedding in the email body.
Seen in 1 report
-
The account settings fields stored user input and rendered it without output encoding.
Seen in 1 report
-
The Action Text edit UI rendered attachment content without proper sanitisation.
Seen in 1 report
-
The ActionableExceptions middleware was reachable in production and did not validate the redirect location scheme.
Seen in 1 report