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,551 to 1,600 of 2,345
  1. The manufacturer parameter was reflected into the HTML response without sanitisation or encoding.

    Seen in 1 report
  2. The map attribution control rendered user-provided attribution as HTML without sanitisation.

    Seen in 1 report
  3. The map title was inserted into the share control's HTML without encoding.

    Seen in 1 report
  4. The mapname parameter was reflected into a form action attribute without encoding.

    Seen in 1 report
  5. The Markdown and HTML rendering pipeline for site configuration fields did not sanitise or escape user markup before rendering.

    Seen in 1 report
  6. The Markdown parser allowed raw HTML and its output was inserted with Vue's v-html directive without sanitisation.

    Seen in 1 report
  7. The markdown parser inserted the image URL into an attribute without escaping quote characters.

    Seen in 1 report
  8. The markdown parser left a dangling single quote in generated HTML and the result was injected with dangerouslySetInnerHTML.

    Seen in 1 report
  9. The markdown parser mishandled underscores and an at-sign, generating malformed HTML with an unclosed tag.

    Seen in 1 report
  10. The Markdown preview rendered unsanitised HTML in an Electron context with Node.js integration enabled.

    Seen in 1 report
  11. The markdown renderer allowed javascript: and data: URI schemes in links.

    Seen in 1 report
  12. The Markdown renderer allowed javascript: URLs in links.

    Seen in 1 report
  13. The Markdown renderer allowed raw HTML and the web application firewall only matched literal keywords, so Unicode-encoded characters bypassed the filter.

    Seen in 1 report
  14. The markdown renderer allowed vbscript: URLs in links without filtering the scheme.

    Seen in 1 report
  15. The markdown renderer did not escape HTML tags placed between two dollar signs and a percent sign.

    Seen in 1 report
  16. The markdown renderer did not filter the class attribute on HTML elements, letting user-supplied class names reach the page.

    Seen in 1 report
  17. The Markdown renderer did not restrict which URL schemes were allowed in links, so script-scheme links were rendered as clickable.

    Seen in 1 report
  18. The Markdown renderer had raw HTML enabled and its output was written directly to the page with no sanitiser.

    Seen in 1 report
  19. The Markdown renderer used the language identifier as a CSS class without filtering.

    Seen in 1 report
  20. The Markdown renderer was configured without its built-in sanitiser, and other filters did not treat Markdown as an XSS vector.

    Seen in 1 report
  21. The Markdown sanitiser did not strip control characters inside link URLs, so a script scheme could be smuggled past the filter and stored.

    Seen in 1 report
  22. The Markdown-to-HTML converter did not sanitise user-supplied attributes, allowing event handlers to be injected.

    Seen in 1 report
  23. The marked library was used with default settings that do not sanitise HTML embedded in Markdown.

    Seen in 1 report
  24. The mention displayName field was not sanitised, allowing AngularJS expression injection.

    Seen in 1 report
  25. The menu item name was inserted into the page as raw HTML.

    Seen in 1 report
  26. The merge request title was inserted into the Slack message without escaping Slack formatting control characters.

    Seen in 1 report
  27. The mermaid renderer did not sanitise click handler URLs.

    Seen in 1 report
  28. The message event listener did not check the origin and passed message data straight into an iframe src.

    Seen in 1 report
  29. The message event listener did not verify the sender's origin and passed an attacker-controlled followUpUrl straight into location.href without validating the scheme.

    Seen in 1 report
  30. The message event listener failed to properly validate the sender's origin before inserting message data into the DOM.

    Seen in 1 report
  31. The message handler trusted any incoming postMessage and rendered supplied code as React without validating the sender's origin.

    Seen in 1 report
  32. The message handler trusted any message from the window that opened the page.

    Seen in 1 report
  33. The message handler trusted any origin and did not validate a URL before assigning it to document.location.

    Seen in 1 report
  34. The message handler validated the sender's origin with a substring search instead of an exact match against the full expected origin.

    Seen in 1 report
  35. The message listener did not verify the sender origin and inserted received data into iframe attributes without sanitisation.

    Seen in 1 report
  36. The message listener trusted a null origin and passed attacker-controlled names to a dispatcher that invoked any method, including a script loader.

    Seen in 1 report
  37. The message origin was validated but the payload was inserted into the DOM without sanitisation.

    Seen in 1 report
  38. The message parameter was written into the page without output encoding, and the WAF only matched known script patterns rather than dangerous SVG event handlers.

    Seen in 1 report
  39. The messaging backend does not validate or sanitise the content of messages, trusting client-supplied fields such as link URLs, file names and contact details.

    Seen in 1 report
  40. The mobile site rendered photo metadata without HTML-encoding, and its client-side routing accepted a same-domain API path returning unescaped data.

    Seen in 1 report
  41. The module description was not sanitised or encoded before storing and rendering.

    Seen in 1 report
  42. The msg parameter was decoded and passed to a helper that wrapped it in HTML, then written with jQuery's html().

    Seen in 1 report
  43. The msg parameter was reflected into the HTML response without output encoding.

    Seen in 1 report
  44. The multiline text class did not properly validate or encode user-supplied data before rendering it.

    Seen in 1 report
  45. The multipart form field name was echoed into cart HTML without encoding and add-to-cart lacked CSRF protection.

    Seen in 1 report
  46. The Name argument submitted through the dashboard page was rendered back into the page without neutralising HTML or JavaScript.

    Seen in 1 report
  47. The name field is inserted into an HTML attribute without encoding.

    Seen in 1 report
  48. The name field was not sanitised before being included in a confirmation email.

    Seen in 1 report
  49. The name field was stored and rendered without output encoding and the name-change endpoint accepted cross-site form submissions without a CSRF token.

    Seen in 1 report
  50. The name sanitiser removed only complete tags so an unclosed tag survived and was rendered as an anchor.

    Seen in 1 report