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 701 to 750 of 2,345
  1. Metadata values were returned without sanitising or escaping.

    Seen in 1 report
  2. Middleware stripped the Location header when it contained control characters, leaving the fallback HTML link controllable.

    Seen in 1 report
  3. Missing access control on element creation plus lack of input sanitisation allowed stored XSS in every account.

    Seen in 1 report
  4. Missing authentication on an internal dashboard combined with no upload validation and unsanitised reflected input.

    Seen in 1 report
  5. Missing context-aware output encoding: the search term was echoed directly into an HTML heading.

    Seen in 1 report
  6. Missing or flawed origin validation, destination checks, and input validation in postMessage event listeners and senders within SSO flows.

    Seen in 1 report
  7. Missing or insufficient output encoding or validation of user-controlled data before rendering.

    Seen in 1 report
  8. The CMS search parameter lacked output encoding, verbose errors printed database credentials, and an API returned more user fields than needed.

    Seen in 1 report
  9. User-supplied data was not validated or sanitised before being rendered in the app's WebView.

    Seen in 1 report
  10. Several service dashboards lacked input sanitisation and output encoding.

    Seen in 1 report
  11. Multiple values of the same parameter were concatenated without sanitising before being embedded in a script context, and the filter only checked the first occurrence.

    Seen in 1 report
  12. Mutation XSS: browser parsing of SVG and MathML changes the DOM after sanitisation so an event handler survives.

    Seen in 1 report
  13. Nested email tags in signatures were incompletely sanitised.

    Seen in 1 report
  14. New registry accessors omitted the main-world guard and the whenDefined promise map was shared across worlds.

    Seen in 1 report
  15. Newlines in the request path were not sanitised before being written into response headers, and files were served by user-controlled extension.

    Seen in 1 report
  16. Nicknames were inserted into the seen list without encoding.

    Seen in 1 report
  17. There was no authorisation check when re-enabling a disabled account, and the username was not encoded in the admin overview.

    Seen in 1 report
  18. A non-frame-bound JavaScript evaluation API did not verify the frame's current origin at execution time.

    Seen in 1 report
  19. Top-level navigation restrictions were not applied to redirects issued by service workers.

    Seen in 1 report
  20. The user parameter in a captive portal endpoint was not properly sanitised.

    Seen in 1 report
  21. User-controlled input in forum posts was not properly sanitised, and the initial fix was incomplete.

    Seen in 1 report
  22. Note content was rendered as HTML without sanitisation and Node.js integration was enabled in the renderer.

    Seen in 1 report
  23. Note content was rendered without sanitising HTML entities in the clipped source title attribute, reaching Electron IPC.

    Seen in 1 report
  24. OCR link detection trusted text in images and did not validate the resulting URL scheme.

    Seen in 1 report
  25. oEmbed provider validation was insufficient, allowing an attacker-controlled proxy to supply a malicious embed response.

    Seen in 1 report
  26. An older API version lacked the sanitisation present in the current version.

    Seen in 1 report
  27. One language's translator feature rendered user text as HTML while other languages encoded it.

    Seen in 1 report
  28. Only double quotes were replaced, so the script tag could still be closed.

    Seen in 1 report
  29. Only one parameter was checked against a short blocklist and the JavaScript escaping function did not perform HTML-specific escaping.

    Seen in 1 report
  30. Only the first importer step was protected with a nonce, leaving later steps such as import unprotected.

    Seen in 1 report
  31. Organisation members were approved automatically without review.

    Seen in 1 report
  32. Origin validation compared the message origin to the referrer, which the opener controls.

    Seen in 1 report
  33. Origin validation for postMessage did not correctly handle requests originating from FTP URLs.

    Seen in 1 report
  34. Origin validation used a string search converted to a regular expression where dots act as wildcards.

    Seen in 1 report
  35. Origin validation used a suffix match on the hostname without ensuring the match occurred at a dot boundary.

    Seen in 1 report
  36. Origin, params and flow name were inserted into JavaScript and HTML without encoding or validation.

    Seen in 1 report
  37. The original message was embedded into a textarea without HTML encoding, so a closing tag breaks out.

    Seen in 1 report
  38. An outdated editor version did not sanitise HTML inserted via drag and drop.

    Seen in 1 report
  39. Outdated internet-facing Jira versions with publicly known vulnerabilities were left unpatched.

    Seen in 1 report
  40. An outdated player accepted a remote config URL and executed script from it without validation.

    Seen in 1 report
  41. An outdated plugin with a known DOM XSS was left in place.

    Seen in 1 report
  42. Outlook failed to properly sanitise or validate the content of meeting invitation requests, allowing cross-site scripting.

    Seen in 1 report
  43. Output encoding differed between the web interface and the email template, and email changes were not verified.

    Seen in 1 report
  44. Output encoding or sanitisation neutralised the stored content, preventing script execution.

    Seen in 1 report
  45. Output of a sandboxed context was treated as trusted and inserted into the main document, so the sandbox isolation did not apply.

    Seen in 1 report
  46. Tracker names were output on the conversion statistics page without HTML escaping.

    Seen in 1 report
  47. The owner name was inserted into a JavaScript context without escaping angle brackets and slashes.

    Seen in 1 report
  48. Page fields were saved without server-side sanitisation and rendered directly into HTML while relying on client-side editor encoding for other fields.

    Seen in 1 report
  49. Page paths were rendered as clickable links without validating the URL scheme.

    Seen in 1 report
  50. Parameter names and values were HTML-entity-encoded then interpolated unquoted into an inline script as object keys, so bracket syntax formed an evaluated expression.

    Seen in 1 report