Skip to content

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.

Back to the lesson 1,701 to 1,750 of 2,345
  1. The plugin failed to properly sanitise user-supplied input before storing and displaying it.

    Seen in 1 report
  2. The plugin failed to sanitise the Answer field before rendering, and session cookies lacked SameSite protection.

    Seen in 1 report
  3. The plugin fails to sanitise or escape the Ticket Title before rendering it in HTML.

    Seen in 1 report
  4. The plugin read the URL fragment and inserted it into the page without sanitising.

    Seen in 1 report
  5. The plugin stored User-Agent and Referer headers without escaping them in the log page.

    Seen in 1 report
  6. 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.

    Seen in 1 report
  7. The plugin treated shortcode attributes as trusted, neither validating them on input nor escaping them for the correct output context.

    Seen in 1 report
  8. The plugin used a function that only reindexes arrays instead of stripping HTML, and later output the stored value without HTML escaping.

    Seen in 1 report
  9. The plugin used esc_attr() on stored option values without first sanitising the input.

    Seen in 1 report
  10. The plugin's debugging features relied on GET parameters and failed to sanitise input before storing it.

    Seen in 1 report
  11. The policy allowed images from a third-party service that hosts user content, enabling dangling markup exfiltration.

    Seen in 1 report
  12. The pop-up page inserted the user name into the HTML without escaping it.

    Seen in 1 report
  13. The portal inserted user-supplied input into a generated page without proper encoding or sanitisation.

    Seen in 1 report
  14. The portal reflected the user parameter into the response without encoding it.

    Seen in 1 report
  15. 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.

    Seen in 1 report
  16. The POST keyword parameter was reflected into the search results page without sanitisation or encoding.

    Seen in 1 report
  17. The POST parameter was reflected without sanitisation and the request had no CSRF token.

    Seen in 1 report
  18. The post title was inserted into the mod notes page without output encoding or sanitisation.

    Seen in 1 report
  19. The postMessage handler did not validate origin and assigned message data directly to innerHTML.

    Seen in 1 report
  20. The postMessage handler validated the origin but did not sanitise the message content, so a compromised trusted origin could inject arbitrary HTML.

    Seen in 1 report
  21. The postMessage listener did not verify the origin of incoming messages, allowing an attacker to inject a fake success response before the legitimate one.

    Seen in 1 report
  22. The prerender feature let JavaScript from the prerendered page run in the context of the search results page.

    Seen in 1 report
  23. The preview endpoint echoed user input into the HTML response without encoding or sanitising it.

    Seen in 1 report
  24. The preview generator inserted META tag content into the page without sanitising or escaping it.

    Seen in 1 report
  25. The preview pane rendered user HTML without sanitisation and without a sandbox blocking scripts or same-origin access.

    Seen in 1 report
  26. 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.

    Seen in 1 report
  27. The previewUrl was concatenated onto a fixed hostname without checking it began with a slash.

    Seen in 1 report
  28. The print preview context trusted an attribute to set the document origin without validation, allowing origin spoofing.

    Seen in 1 report
  29. 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
  30. The print view renders stored content with innerHTML without the sanitisation the main view applies.

    Seen in 1 report
  31. The product option value was rendered into the response without output encoding or input sanitisation.

    Seen in 1 report
  32. The product SKU parameter was inserted into an HTML attribute without encoding or validation.

    Seen in 1 report
  33. The profile name was placed into an inline onclick JavaScript string without escaping quotes.

    Seen in 1 report
  34. 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
  35. 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
  36. The pronunciation value was inserted into an HTML string marked as safe without sanitising.

    Seen in 1 report
  37. 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
  38. The protection relied entirely on an external script to move content into a sandboxed iframe.

    Seen in 1 report
  39. The protocol check only recognised HTML-encoded colons ending with a semicolon.

    Seen in 1 report
  40. The proxy serves SVG inline without sanitising or forcing a safe content type.

    Seen in 1 report
  41. The proxying strategy set Content-Disposition to inline regardless of file type.

    Seen in 1 report
  42. 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
  43. The q parameter reached a template object without HTML-attribute escaping.

    Seen in 1 report
  44. The QR scanner passed scanned text straight to a web view without restricting the javascript: scheme.

    Seen in 1 report
  45. The query parameter was assigned to innerHTML without sanitisation.

    Seen in 1 report
  46. The query parameter was inserted without output encoding and the developer relied on a homemade keyword blocklist.

    Seen in 1 report
  47. The query_string parameter is reflected without output encoding.

    Seen in 1 report
  48. 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
  49. The Quick Open list inserted the source filename as raw HTML instead of escaping it as text.

    Seen in 1 report
  50. The quote form stored and displayed input without sanitising it, and message identifiers were predictable with no authorisation check.

    Seen in 1 report