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 plugin failed to properly sanitise user-supplied input before storing and displaying it.
Seen in 1 report
-
The plugin failed to sanitise the Answer field before rendering, and session cookies lacked SameSite protection.
Seen in 1 report
-
The plugin fails to sanitise or escape the Ticket Title before rendering it in HTML.
Seen in 1 report
-
The plugin read the URL fragment and inserted it into the page without sanitising.
Seen in 1 report
-
The plugin stored User-Agent and Referer headers without escaping them in the log page.
Seen in 1 report
-
The plugin takes the Content-Type directly from the vCard's PHOTO property without validating or sanitising it, and serves the raw value as the response body.
-
The plugin treated shortcode attributes as trusted, neither validating them on input nor escaping them for the correct output context.
Seen in 1 report
-
The plugin used a function that only reindexes arrays instead of stripping HTML, and later output the stored value without HTML escaping.
-
The plugin used esc_attr() on stored option values without first sanitising the input.
-
The plugin's debugging features relied on GET parameters and failed to sanitise input before storing it.
Seen in 1 report
-
The policy allowed images from a third-party service that hosts user content, enabling dangling markup exfiltration.
Seen in 1 report
-
The pop-up page inserted the user name into the HTML without escaping it.
-
The portal inserted user-supplied input into a generated page without proper encoding or sanitisation.
Seen in 1 report
-
The portal reflected the user parameter into the response without encoding it.
Seen in 1 report
-
The post editor's link handling did not validate or sanitise javascript: URIs when links were inserted via the WebSocket editing protocol, unlike the public preview which had a protocol check.
-
The POST keyword parameter was reflected into the search results page without sanitisation or encoding.
Seen in 1 report
-
The POST parameter was reflected without sanitisation and the request had no CSRF token.
Seen in 1 report
-
The post title was inserted into the mod notes page without output encoding or sanitisation.
Seen in 1 report
-
The postMessage handler did not validate origin and assigned message data directly to innerHTML.
Seen in 1 report
-
The postMessage handler validated the origin but did not sanitise the message content, so a compromised trusted origin could inject arbitrary HTML.
-
The postMessage listener did not verify the origin of incoming messages, allowing an attacker to inject a fake success response before the legitimate one.
-
The prerender feature let JavaScript from the prerendered page run in the context of the search results page.
-
The preview endpoint echoed user input into the HTML response without encoding or sanitising it.
-
The preview generator inserted META tag content into the page without sanitising or escaping it.
Seen in 1 report
-
The preview pane rendered user HTML without sanitisation and without a sandbox blocking scripts or same-origin access.
-
The preview-side postMessage transport lacked the sender-origin validation the manager side performed, and the highlight menu passed attacker-controlled event names straight into the privileged server channel.
-
The previewUrl was concatenated onto a fixed hostname without checking it began with a slash.
Seen in 1 report
-
The print preview context trusted an attribute to set the document origin without validation, allowing origin spoofing.
Seen in 1 report
-
The print renderer did not sanitise note content and the app's Node integration let injected script reach the process object.
Seen in 1 report
-
The print view renders stored content with innerHTML without the sanitisation the main view applies.
Seen in 1 report
-
The product option value was rendered into the response without output encoding or input sanitisation.
Seen in 1 report
-
The product SKU parameter was inserted into an HTML attribute without encoding or validation.
Seen in 1 report
-
The profile name was placed into an inline onclick JavaScript string without escaping quotes.
Seen in 1 report
-
The profile name was rendered as raw HTML and protected by an incomplete denylist of event handlers rather than output encoding.
Seen in 1 report
-
The profile update endpoint lacked CSRF protection, allowing an attacker to force a logged-in user to save an XSS payload into their own bio.
Seen in 1 report
-
The pronunciation value was inserted into an HTML string marked as safe without sanitising.
Seen in 1 report
-
The protection layer evaluated the stringified array representation while the application executed a single element, so the security decision was made against different data.
Seen in 1 report
-
The protection relied entirely on an external script to move content into a sandboxed iframe.
Seen in 1 report
-
The protocol check only recognised HTML-encoded colons ending with a semicolon.
-
The proxy serves SVG inline without sanitising or forcing a safe content type.
Seen in 1 report
-
The proxying strategy set Content-Disposition to inline regardless of file type.
Seen in 1 report
-
$500 Medium
-
-
The pushState handler concatenated the admin path with an unvalidated pathname and never checked the resolved path stayed under the admin prefix.
Seen in 1 report
-
The q parameter reached a template object without HTML-attribute escaping.
Seen in 1 report
-
The QR scanner passed scanned text straight to a web view without restricting the javascript: scheme.
Seen in 1 report
-
The query parameter was assigned to innerHTML without sanitisation.
Seen in 1 report
-
The query parameter was inserted without output encoding and the developer relied on a homemade keyword blocklist.
Seen in 1 report
-
The query_string parameter is reflected without output encoding.
Seen in 1 report
-
The Quick Edit fallback read the author cell as text and concatenated it into HTML passed to prepend, decoding entities into live elements.
Seen in 1 report
-
The Quick Open list inserted the source filename as raw HTML instead of escaping it as text.
-
The quote form stored and displayed input without sanitising it, and message identifiers were predictable with no authorisation check.
Seen in 1 report