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,101 to 2,150 of 2,345
  1. The WAF rule set matched known payload patterns too narrowly, so a slightly altered payload was not recognised.

    Seen in 1 report
  2. The wallet address input was not sanitised or encoded before rendering, and the QR scanner passed the decoded value into the same field.

    Seen in 1 report
  3. The WASM sanitiser only replaced some HTML characters, so decoded user-controlled state reached the DOM in an executable form.

    Seen in 1 report
  4. The web application did not sanitise or encode user-supplied parameters before reflecting them.

    Seen in 1 report
  5. The web console failed to properly encode user-supplied names in HTML output, and the Jolokia API was exposed without authentication, allowing heap dumps to be written to web-accessible directories.

    Seen in 1 report
  6. The web interface rendered user-provided input without proper sanitisation, allowing script to be stored and executed for other users.

    Seen in 1 report
  7. The server did not set a safe Content-Type for uploaded files, and upload validation and rendering lacked sanitisation.

    Seen in 1 report
  8. The server did not validate incoming requests, so attacker HTML reached the password reset email.

    Seen in 1 report
  9. The web services interface did not properly validate user-supplied input in the SAML assertion consumer.

    Seen in 1 report
  10. The webmail did not neutralise user-supplied email content before rendering it as a web page.

    Seen in 1 report
  11. The webview accepted postMessage content without validating the sender's origin.

    Seen in 1 report
  12. The WebView had JavaScript enabled and loaded local HTML without validating it.

    Seen in 1 report
  13. The WebView rendering Markdown had Node integration off but context isolation was not enabled, so note script could override functions used by the main process.

    Seen in 1 report
  14. The welcome text was stored and served as raw HTML without proper sanitisation, and the follow-up fix relied on a denylist.

    Seen in 1 report
  15. The whitelist regex validated the domain but did not enforce the protocol.

    Seen in 1 report
  16. The whitelist used a substring match on the full URL rather than parsing and comparing the hostname.

    Seen in 1 report
  17. The widget scripts echo the city_id and language_id request parameters into the HTML response without encoding or validating them.

    Seen in 1 report
  18. The widget's Flash file rendered the owner name without escaping.

    Seen in 1 report
  19. The wiki rendered uploaded HTML files without sanitising or serving them with a restrictive content type, and no content security policy blocked inline scripts.

    Seen in 1 report
  20. The worker interpolated an unvalidated, unescaped on-chain label into a Telegram message parsed as Markdown.

    Seen in 1 report
  21. The Worker interpolated attacker-controlled name data into a Telegram message sent with Markdown parsing enabled without escaping metacharacters.

    Seen in 1 report
  22. The worker read the raw name from the indexer and inserted it unescaped into Telegram legacy Markdown, push body, tag and click URL.

    Seen in 1 report
  23. The Worklet security callbacks were never updated to mirror the Worker ones, so the Trusted Types callback slot is null and the eval check is absent.

    Seen in 1 report
  24. The workspace name was inserted into the page without encoding, so markup in the name was treated as HTML.

    Seen in 1 report
  25. The x-client-ver value was reflected unescaped into an attribute of an auto-submitted form, and the sensitive flow tokens in that form were reusable.

    Seen in 1 report
  26. The X-Forwarded-Host header was reflected into a font preload URL and CSS block without escaping, and responses were cached for a minute.

    Seen in 1 report
  27. The X-XSS-Protection header was not configured, leaving browser default behaviour.

    Seen in 1 report
  28. The xiwindow parameter was reflected into the page without proper output encoding or sanitisation.

    Seen in 1 report
  29. The XML serialiser wrote attacker-controlled values into command attributes unencoded, and the session check only ran for POST requests.

    Seen in 1 report
  30. The XSLT error handler creates a new document and replaces the current one without checking the context.

    Seen in 1 report
  31. The XSLT stylesheet converting OpenOffice documents to XHTML allowed arbitrary HTML elements including script tags, and the output was not sanitised.

    Seen in 1 report
  32. The XSS Auditor's blocklist did not include the 'code' and 'url' parameters that Chrome's HTMLObjectElement also accepts for loading content.

    Seen in 1 report
  33. The XSS filter did not properly handle the caret character in URLs.

    Seen in 1 report
  34. The XSS filter modified meta tags that appeared in the query string, inadvertently disabling the CSP.

    Seen in 1 report
  35. The Zoom URL validator only checked that the input contained a Zoom link rather than that the whole value was a valid Zoom URL.

    Seen in 1 report
  36. Theme colour values were inserted into a stylesheet without validation or escaping.

    Seen in 1 report
  37. Theme variables were inserted directly into a CSS template without sanitising, letting a value break out of its property.

    Seen in 1 report
  38. A third-party JavaScript library was not kept up to date, leaving known vulnerabilities unpatched.

    Seen in 1 report
  39. Third-party search result content was inserted into the page without sanitisation.

    Seen in 1 report
  40. Ticket content was inserted into the HTML response without contextual output encoding, so the browser treated data as code.

    Seen in 1 report
  41. Ticket description was inserted into outbound emails without sanitisation or encoding.

    Seen in 1 report
  42. Title and subtitle options are concatenated into an HTML string instead of inserted as text.

    Seen in 1 report
  43. Tracker names were not HTML-encoded before rendering in the maintenance results page.

    Seen in 1 report
  44. Transport implementations did not validate message origins and allowed open redirects, and JSONP auto-detection turned a response into script.

    Seen in 1 report
  45. DNS TXT record contents were treated as trusted HTML.

    Seen in 1 report
  46. The trusted sites feature allowed injecting a new connect-src directive and the browser applied the first rule.

    Seen in 1 report
  47. The code trusted a global variable that can be created by DOM clobbering and wrote unsanitised query data with document.write.

    Seen in 1 report
  48. The code trusted a parent origin taken from the URL query string instead of the real sender origin.

    Seen in 1 report
  49. The code trusted an object element's type attribute to choose rendering when no Content-Type header is sent.

    Seen in 1 report
  50. Two different query string parsers were used without ensuring identical interpretation, creating a parser differential.

    Seen in 1 report