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 101 to 150 of 2,345
  1. The Embed Media shortcode value was stored and later rendered into the page without output encoding or sanitisation.

    Seen in 2 reports
  2. The login page echoed a URL parameter into its error message without sanitising it.

    Seen in 2 reports
  3. The manifest CSP validator's whitespace delimiter list omits characters the runtime parser treats as whitespace, so the same directive tokenises differently.

    Seen in 2 reports
  4. The Markdown parser did not validate or escape quotes and attributes in link titles.

    Seen in 2 reports
  5. The Mermaid renderer did not sanitise HTML embedded in diagram syntax, allowing raw HTML and script into the page.

    Seen in 2 reports
  6. The note sanitiser did not remove form elements, so they were rendered and could be submitted.

    Seen in 2 reports
  7. The notebook rendering path did not neutralise content before placing it into a generated web page.

    Seen in 2 reports
  8. The postMessage handlers did not verify the origin of incoming messages.

    Seen in 2 reports
  9. The preview endpoint did not validate that the base URL used a safe scheme before embedding it in a link.

    Seen in 2 reports
  10. The project or report name was inserted into the embed code without HTML encoding, so markup in the name was treated as code.

    Seen in 2 reports
  11. The regular expression extracting multi-word milestone and label references was too permissive and allowed angle brackets, enabling HTML injection.

    Seen in 2 reports
  12. The regular expression rewriting image tags did not handle spaces or mixed quotes, so a crafted src attribute could break out and inject attributes.

    Seen in 2 reports
  13. The sanitiser relied on a serialize-parse roundtrip that is not guaranteed to preserve the DOM tree.

    Seen in 2 reports
  14. The script read the user parameter from the URL and assigned it to innerHTML without encoding.

    Seen in 2 reports
  15. The search parameter was echoed into the HTML response without output encoding or validation.

    Seen in 2 reports
  16. The search query inserted into HTML without output encoding.

    Seen in 2 reports
  17. The search query was inserted into the page without encoding, letting tags and class attributes render.

    Seen in 2 reports
  18. The server accepted any link value without validating that it used a safe scheme such as http or https.

    Seen in 2 reports
  19. The server did not properly sanitise a specially crafted request before reflecting it back to the user.

    Seen in 2 reports
  20. The service inserted user input into generated web pages without proper encoding, and rendered Markdown styling without neutralising special elements.

    Seen in 2 reports
  21. The taint flag is lost when a registered custom property is converted to a typed value for animation, and the shorthand parser stream is built without the taint ranges.

    Seen in 2 reports
  22. The template interpolated the user-controlled name into a Markdown message without escaping metacharacters, allowing the name to close the inline-code span.

    Seen in 2 reports
  23. The translation helper marked strings as HTML-safe when the key ended in _html, even when the default value came from untrusted input.

    Seen in 2 reports
  24. The translator inserted page text into the DOM without sanitising it or converting it to plain text.

    Seen in 2 reports
  25. The url parameter is inserted into the DOM without escaping.

    Seen in 2 reports
  26. The url parameter was reflected into the HTML response without output encoding or validation.

    Seen in 2 reports
  27. The wpautop regex stopped at the first closing angle bracket, so a newline inside an attribute became markup that broke out of the attribute.

    Seen in 2 reports
  28. Upload features accepted SVG files and served them without sanitising active content.

    Seen in 2 reports
  29. Upload pipelines did not strip active PDF content and served files inline.

    Seen in 2 reports
  30. Uploaded file contents were not sanitised or validated before being displayed.

    Seen in 2 reports
  31. Uploaded files were served with a content type that let the browser treat them as HTML in the site's origin.

    Seen in 2 reports
  32. Uploaded PDFs were served inline from the site origin so embedded JavaScript ran in that origin.

    Seen in 2 reports
  33. User input was embedded into a client-side template without sanitising, so the framework evaluates it as an expression.

    Seen in 2 reports
  34. User input is not sanitised before being included in the HTML body of an email.

    Seen in 2 reports
  35. User input was inserted into a JavaScript string without escaping quotes.

    Seen in 2 reports
  36. User input was reflected into an HTML attribute value without encoding double quotes.

    Seen in 2 reports
  37. User-influenced values were rendered into a browser-executed context without context-aware output encoding or sanitisation.

    Seen in 2 reports
  38. User-supplied input in the email field was not sanitised or encoded before rendering in an internal admin dashboard.

    Seen in 2 reports
  39. A back_url parameter was reflected into a link without validating the URL scheme.

    Seen in 1 report
  40. A base64-encoded path segment was decoded and inserted into the response without encoding.

    Seen in 1 report
  41. A bundled app's proxy script did not apply the platform's default Content Security Policy.

    Seen in 1 report
  42. A bundled example script echoed request parameters into HTML without encoding and was included in the release package.

    Seen in 1 report
  43. A callback parameter was reflected into a generated script without sanitisation, and the response lacked a content-type sniffing protection header.

    Seen in 1 report
  44. A canonical URL was stored unvalidated when bookmarking a page whose address began with a known prefix.

    Seen in 1 report
  45. A capitalisation transform was applied to reflected input instead of encoding or rejecting it.

    Seen in 1 report
  46. A cID parameter was concatenated into an HTML attribute without encoding or type casting.

    Seen in 1 report
  47. A client-controlled query parameter could override Content-Disposition from attachment to inline for HTML files, so uploaded content rendered as active content on the application origin.

    Seen in 1 report
  48. A client-supplied login token was trusted without binding it to the original session.

    Seen in 1 report
  49. A comment field rendered pasted HTML without sanitising it.

    Seen in 1 report