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 2,301 to 2,345 of 2,345
  1. User-supplied input was not properly encoded when building pagination links.

    Seen in 1 report
  2. User-supplied names were embedded in notification emails without encoding.

    Seen in 1 report
  3. User-supplied parameters could override tag attributes without sanitisation.

    Seen in 1 report
  4. User-supplied post titles were not HTML-encoded before being embedded in transactional email templates.

    Seen in 1 report
  5. The user-supplied protocol version was echoed into an HTML error response without context-appropriate escaping.

    Seen in 1 report
  6. User-supplied query parameters were merged into the render data object, allowing internal settings to be overwritten.

    Seen in 1 report
  7. User-supplied styling input was stored without sanitising and later rendered where it was interpreted as markup.

    Seen in 1 report
  8. A user-supplied SVG was served inline with a script-capable content type and no download-forcing header.

    Seen in 1 report
  9. User-supplied text was embedded in a JSON script block without escaping the closing script tag.

    Seen in 1 report
  10. User-supplied thread content was rendered through AngularJS without being treated as untrusted text, so expressions were evaluated.

    Seen in 1 report
  11. User-supplied URL values were inserted into a JavaScript template without escaping, letting the value break out of a string literal.

    Seen in 1 report
  12. User-supplied video parameters were merged into a jQuery-created element without restricting which attributes could be set.

    Seen in 1 report
  13. User-uploaded HTML files were served from the same origin as the webmail without sanitising or forcing a download.

    Seen in 1 report
  14. User-uploaded images were served from the same origin combined with unescaped hash-driven templating.

    Seen in 1 report
  15. User-uploaded PDFs were stored on the main domain and served without a sandbox or separate origin.

    Seen in 1 report
  16. User-uploaded SVG files were served from a domain without forcing them to be displayed as inert images.

    Seen in 1 report
  17. User-uploaded SVG files were served inline without neutralising embedded scripts.

    Seen in 1 report
  18. User-uploaded SVG files were served inline without sanitising or blocking embedded scripts.

    Seen in 1 report
  19. User-uploaded SVG files were served inline without sanitising or restricting active content.

    Seen in 1 report
  20. The username was reflected from the URL without encoding angle brackets.

    Seen in 1 report
  21. Username validation and encryption were only enforced client-side, so the server accepted and reflected any encrypted value.

    Seen in 1 report
  22. The username was inserted into the reset email as raw HTML and signup did not verify email ownership.

    Seen in 1 report
  23. Usernames were not sanitised before rendering, state-changing requests were accepted via GET without CSRF protection and an outdated XML parser was used.

    Seen in 1 report
  24. Users with content management permissions could upload SVG files without sanitising script content, and the files were rendered where scripts execute.

    Seen in 1 report
  25. An allow-list permitted the style attribute on div tags, enabling CSS-based defacement.

    Seen in 1 report
  26. jQuery append was used to insert third-party text as HTML instead of text to treat it as plain text.

    Seen in 1 report
  27. Twig's raw filter was used without escaping on a username field.

    Seen in 1 report
  28. Validation and storage disagreed about which duplicate parameter to use.

    Seen in 1 report
  29. Validation checked one intent extra while URL loading used a different extra, so the javascript: scheme check was bypassed.

    Seen in 1 report
  30. Values were stored without encoding quotes, letting them break out of an HTML attribute.

    Seen in 1 report
  31. Values were passed to a sanitising HTML directive without prior encoding, so benign-looking HTML and CSS were allowed through.

    Seen in 1 report
  32. Video metadata was stored and returned unsanitised, and the endpoint served JSON with a text/html content type.

    Seen in 1 report
  33. VideoJS did not escape metadata passed to JavaScript via ExternalInterface.

    Seen in 1 report
  34. The visitor name was stored raw and rendered with dangerouslySetInnerHTML.

    Seen in 1 report
  35. The WAF and page parsing duplicate or malformed query parameters differently, and the page renders input without output encoding.

    Seen in 1 report
  36. The webview-to-extension channel forwards any command name and arguments without an allowlist or workspace containment.

    Seen in 1 report
  37. Webviews did not enforce origin isolation and accepted postMessage commands from any origin.

    Seen in 1 report
  38. The widget editing endpoint lacked an ownership check and allowed modification by UUID.

    Seen in 1 report
  39. Wiki page titles were used as link text without sanitisation.

    Seen in 1 report
  40. window.postMessage was used without a target origin so any page could intercept the message.

    Seen in 1 report
  41. Workflow form fields were not sanitised and the user-creation API endpoints lacked sufficient authorisation checks.

    Seen in 1 report
  42. A world-specific function was cached on a DOM event shared across worlds, with only a debug-build check.

    Seen in 1 report
  43. A group parameter was written into the HTML response without context-aware output encoding.

    Seen in 1 report
  44. XML files were served inline and iOS browsers ignored the Content-Type header when the file declared its own type.

    Seen in 1 report
  45. XSS filtering was applied only to GET requests, leaving POST reflections unfiltered.

    Seen in 1 report