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,651 to 1,700 of 2,345
  1. The page reflected a parameter without output encoding and the filter could be bypassed by duplicate parameters.

    Seen in 1 report
  2. The page reflected the product parameter into its output without output encoding or input validation.

    Seen in 1 report
  3. The page sent a message containing URL parameters to a different origin without validating the target origin.

    Seen in 1 report
  4. The page size parameter lacked input validation and output encoding.

    Seen in 1 report
  5. The page title and author name were concatenated into HTML strings without escaping.

    Seen in 1 report
  6. The page title setting was inserted into title tags without sanitisation, unlike other fields.

    Seen in 1 report
  7. The page took the URL fragment and passed it into jQuery parseHTML, which writes to innerHTML without sanitising.

    Seen in 1 report
  8. The page trusted a user-controlled configUrl and loaded remote configuration and specification files from anywhere.

    Seen in 1 report
  9. The page URL was concatenated into an inline onclick JavaScript string without escaping.

    Seen in 1 report
  10. The page used a template that interpolated the token without HTML escaping, and Firefox did not encode single quotes.

    Seen in 1 report
  11. The page used innerHTML with unsanitised data from a drag-and-drop event.

    Seen in 1 report
  12. The page wrote a user-controlled query value into an anchor's href and programmatically clicked an element chosen by the hash without checking the URL scheme.

    Seen in 1 report
  13. The page wrote user input into the document with innerHTML and the session cookie was set without HttpOnly.

    Seen in 1 report
  14. The parameter is reflected without HTML-encoding angle brackets and cookies lack HttpOnly.

    Seen in 1 report
  15. The parameter is reflected without output encoding.

    Seen in 1 report
  16. The parameter was concatenated into an HTML attribute without encoding, and the CSP trusted a subdomain hosting a JSONP endpoint that reflected a callback parameter.

    Seen in 1 report
  17. The parameter was embedded into the HTML response without output encoding or sanitisation.

    Seen in 1 report
  18. The parameter was inserted into an HTML attribute without encoding and the WAF only blocked specific tags.

    Seen in 1 report
  19. The parameter was inserted without output encoding and a keyword-based filter only blocked specific strings.

    Seen in 1 report
  20. The parameter was reflected without output encoding and the WAF filter was bypassed by the payload encoding.

    Seen in 1 report
  21. The parameter was written into a style attribute without filtering style-based script execution.

    Seen in 1 report
  22. The parent page accepted postMessage events from any origin and inserted the dataKey value into the DOM without sanitisation.

    Seen in 1 report
  23. The parent page passed a user-controlled URL parameter (the merchant ID) directly into the iframe source without validating that it belonged to the expected merchant.

    Seen in 1 report
  24. The parent process trusted the principal-to-inherit field sent over IPC without validating it, and the coherence check did not catch an HTTP principal inherited into about:blank.

    Seen in 1 report
  25. The parentOrigin parameter was taken from the query string without validation, bypassing the origin check for incoming messages.

    Seen in 1 report
  26. The parser assigned the URL from the API response directly to the match destination with no check that the scheme was HTTP or HTTPS.

    Seen in 1 report
  27. The parser compares the total parsed policy count including HTTP headers with the number of meta tags seen by the preload scanner, so the counts can match prematurely.

    Seen in 1 report
  28. The parser did not check the URL scheme of navigation suggestions and accepted javascript: URLs.

    Seen in 1 report
  29. The parser's cleanup of the namespace reset state was skipped because the template element pushes a DocumentFragment and the early return for non-Element nodes skips clearing the state.

    Seen in 1 report
  30. The password change endpoint trusted only the bearer token with no CSRF protection and sessions were not invalidated on change.

    Seen in 1 report
  31. The password-change endpoint accepted a CSRF token from a readable cookie and did not require the current password.

    Seen in 1 report
  32. The paste handler wrote clipboard content to innerHTML before the editor schema sanitised it.

    Seen in 1 report
  33. The paste protection only checked for a plain javascript: prefix and did not account for malformed file: schemes with control characters.

    Seen in 1 report
  34. The path after /agecheck/ was not sanitised before being inserted into the page.

    Seen in 1 report
  35. The PDF generation component rendered unsanitised HTML input, allowing script and iframe tags to execute in a local context.

    Seen in 1 report
  36. The PDF rendering SDK allowed arbitrary JavaScript injection, mitigated by a content security policy.

    Seen in 1 report
  37. The PDF viewer rendered uploaded documents without sandboxing or disabling embedded JavaScript.

    Seen in 1 report
  38. The PDF viewer rendered uploaded files without blocking embedded JavaScript.

    Seen in 1 report
  39. The permalink script trusted a parameter to pick the data source and inserted the returned body HTML without sanitising.

    Seen in 1 report
  40. The permission model for active tab did not restrict access to subframes, treating all frames in the tab as the same scope.

    Seen in 1 report
  41. The pinboard accepted and rendered script-scheme URIs as clickable links without sanitising the scheme.

    Seen in 1 report
  42. The pipeline sanitised with DOMPurify before decoding HTML entities, so a second decode after sanitisation turned harmless text into live markup.

    Seen in 1 report
  43. The placeholder value is assigned directly to innerHTML without escaping.

    Seen in 1 report
  44. The player allowed an attacker-controlled cdn_url to load an arbitrary SWF into its security domain and trusted the shared object.

    Seen in 1 report
  45. The plugin applied shortcode processing to comment text via the comment_text filter without validating shortcode attributes or escaping the output.

    Seen in 1 report
  46. The plugin decoded an encoded form parameter and echoed a nested value into the page without output encoding.

    Seen in 1 report
  47. The plugin did not filter special HTML characters when generating error messages.

    Seen in 1 report
  48. The plugin did not validate that X-Forwarded-For held a valid IP address and did not sanitise the tab parameter.

    Seen in 1 report
  49. The plugin echoed user input into a generated page without encoding.

    Seen in 1 report
  50. The plugin failed to escape cache keys according to the HTML output context before rendering them in an admin page.

    Seen in 1 report