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 751 to 800 of 2,345
  1. The parser unescapes HTML entities before rendering and the sanitiser only removes script-relevant elements, not style tags or attributes.

    Seen in 1 report
  2. Part of the request URI was reflected into the Location header and page body without validation.

    Seen in 1 report
  3. A URL parameter was passed directly to document.write inside a select context without encoding or validation.

    Seen in 1 report
  4. An untrusted Intent extra was passed into a JavaScript function that sets innerHTML.

    Seen in 1 report
  5. The password change endpoint lacked CSRF protection beyond the session cookie.

    Seen in 1 report
  6. Paste handling accepted a data-trix-attachment attribute containing HTML without sanitising.

    Seen in 1 report
  7. Pasted HTML was inserted into the page without sanitisation, so event-handler attributes executed.

    Seen in 1 report
  8. The pathname was concatenated into a base href without validation, letting a protocol-relative path change the origin for relative loads.

    Seen in 1 report
  9. PDF metadata values were inserted into the HTML page without encoding or sanitising.

    Seen in 1 report
  10. PDFs were served inline without sanitisation and the file endpoint used a guessable numeric identifier without an ownership check.

    Seen in 1 report
  11. A permission check treated user ID zero as a valid match and stored values were returned without XSS filtering.

    Seen in 1 report
  12. A placeholder value was concatenated into an HTML string without encoding.

    Seen in 1 report
  13. User-controlled input was placed directly into HTML meta tags without validation, output encoding or scheme allow-listing.

    Seen in 1 report
  14. The plugin failed to sanitise input and enforce authorisation on translation submission.

    Seen in 1 report
  15. Policy management did not properly validate user-supplied data.

    Seen in 1 report
  16. Poll content was stored without sanitisation and later rendered as HTML in the notification view on the main domain.

    Seen in 1 report
  17. Post content was stored unsanitised and rendered unsafely in the admin dashboard.

    Seen in 1 report
  18. A POST parameter was echoed without escaping in a template file.

    Seen in 1 report
  19. A POST parameter was reflected into a textarea without encoding.

    Seen in 1 report
  20. Post titles were rendered without sanitising script markup.

    Seen in 1 report
  21. postMessage handlers did not validate message origin and did not sanitise SVG content before rendering.

    Seen in 1 report
  22. postMessage listeners lacked origin validation and passed attacker-controlled data into HTML attributes and iframe sources.

    Seen in 1 report
  23. PowerShell's curl alias resolved to Invoke-WebRequest, which parses and renders fetched content.

    Seen in 1 report
  24. Preview iframe handlers trusted any sender and replied with a wildcard target origin.

    Seen in 1 report
  25. Product names were placed into a meta tag content attribute without escaping quotes or angle brackets.

    Seen in 1 report
  26. Profile input was not sanitised when edited and was embedded directly into notification emails.

    Seen in 1 report
  27. The profile name was stored without sanitising and inserted unescaped into the HTML body of invitation emails.

    Seen in 1 report
  28. Profile names were stored without validation or encoding, and state-changing actions used GET without anti-CSRF tokens.

    Seen in 1 report
  29. Project names were stored without sanitising or encoding before rendering in invitation emails.

    Seen in 1 report
  30. Provider documentation links were not sanitised before rendering.

    Seen in 1 report
  31. The proxy endpoint did not filter the X-Accel-Redirect header.

    Seen in 1 report
  32. The proxy reflected user-controlled content without sanitisation and relied on a CSP that some browsers ignore.

    Seen in 1 report
  33. Public form input was saved as post meta and output in the admin edit screen without escaping.

    Seen in 1 report
  34. Query parameter values were written into the page via document.write without encoding.

    Seen in 1 report
  35. Query parameters were reflected into HTML input attributes without encoding.

    Seen in 1 report
  36. Query parameters were reflected into HTML without encoding or validation.

    Seen in 1 report
  37. Query-string data was reflected into a form action attribute without output encoding.

    Seen in 1 report
  38. Quote filtering was relied on but mass assignment allowed injecting unfiltered quotes.

    Seen in 1 report
  39. Quotes in input placed inside an event handler attribute were not filtered or encoded.

    Seen in 1 report
  40. Raw HTML in markdown was passed to the renderer without sanitising.

    Seen in 1 report
  41. Raw HTML stored in the organisation name was rendered without escaping or sanitising.

    Seen in 1 report
  42. Raw POST input was stored in the session and rendered in a template without output encoding, and the login form had no CSRF protection.

    Seen in 1 report
  43. Raw textarea input was saved and printed into an admin page without escaping.

    Seen in 1 report
  44. The raw User-Agent was inserted into the HTML body of a reset email without encoding.

    Seen in 1 report
  45. RDoc wiki pages allowed unsanitised HTML attributes in image links.

    Seen in 1 report
  46. Reader mode did not properly sanitise the page title or description before inserting it into the reader view, allowing script injection.

    Seen in 1 report
  47. Reader view replaced a placeholder in the page title with escaped DOM content, allowing injection.

    Seen in 1 report
  48. The reason field was stored and rendered to admins without output encoding.

    Seen in 1 report
  49. Reblogged post content was rendered without sanitising form elements and their javascript scheme formaction attributes.

    Seen in 1 report
  50. The redirect page did not encode parameters and the WebView exposed a JavaScript bridge.

    Seen in 1 report