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,751 to 1,800 of 2,345
  1. The r parameter was reflected into the generated image response without HTML encoding.

    Seen in 1 report
  2. The raw URI path was reflected into the HTML response without output encoding or input filtering.

    Seen in 1 report
  3. The raw URL fragment was concatenated into a jQuery selector without encoding, in browsers that do not encode the fragment.

    Seen in 1 report
  4. The reader loading page substituted the supplied URL without validating its scheme.

    Seen in 1 report
  5. The Reader Mode viewer generated HTML without a CSP and loaded it with the original URL as base, losing the site's HTTP CSP.

    Seen in 1 report
  6. The recipe_url parameter was inserted into an href attribute without validating the scheme.

    Seen in 1 report
  7. The recovery parameter was not validated or encoded before use in a form action, and the recovery initiation endpoint lacked CSRF tokens.

    Seen in 1 report
  8. The redirect function used the raw continue value as a navigation target without validating the scheme.

    Seen in 1 report
  9. The redirect page executed javascript: URLs without proper sanitisation, and the client-side regex filter could be bypassed by changing the iframe source after the initial page load.

    Seen in 1 report
  10. The redirect page read the target parameter from the query string and passed it to a location replacement without validating the scheme.

    Seen in 1 report
  11. The redirect parameter was not restricted to http and https URLs.

    Seen in 1 report
  12. The redirect parameter was not validated to contain only a safe URL.

    Seen in 1 report
  13. The redirect parameter was reflected inside an href attribute without scheme validation.

    Seen in 1 report
  14. The redirect_to query parameter was concatenated into the HTML of the mobile error page without escaping.

    Seen in 1 report
  15. The redirect_url value was stored in a session cookie and later used as a navigation target without validation.

    Seen in 1 report
  16. The redirectTo parameter was passed directly into a client-side JavaScript redirect without validating it was a safe http(s) URL.

    Seen in 1 report
  17. The ReferenceRedactorFilter reused HTML-encoded content from a data-original attribute without re-encoding it.

    Seen in 1 report
  18. The Referer header value was inserted into a 'go back' link without encoding or validation.

    Seen in 1 report
  19. The Referer header was inserted unescaped into an onclick attribute.

    Seen in 1 report
  20. The Referer header was reflected into a cached HTML response without sanitisation or proper cache keys.

    Seen in 1 report
  21. The Referer header was reflected into an anchor href without validating or encoding it.

    Seen in 1 report
  22. The referer parameter was inserted into an anchor's href without validating that the scheme was safe.

    Seen in 1 report
  23. The referer parameter was not validated and allowed javascript: URLs, and the invitation endpoint relied on CSRF tokens and user IDs accessible via JavaScript.

    Seen in 1 report
  24. The referrer's account name was inserted into the notification page without encoding.

    Seen in 1 report
  25. The reflected URL was HTML-encoded but not JavaScript-encoded before being placed in a script string.

    Seen in 1 report
  26. The refresh option was concatenated into a single-quoted HTML attribute without htmlspecialchars(), and addslashes() does not protect an HTML attribute context.

    Seen in 1 report
  27. The regex extracting the authority did not treat the backslash as a terminator while browsers do, a parser differential.

    Seen in 1 report
  28. The region parameter was written into the HTML response without escaping.

    Seen in 1 report
  29. The regular expression used to detect HTML entities only matched entities not followed by a semicolon, so entities like 
 and : were not converted and the filter failed to spot javascript: in links.

    Seen in 1 report
  30. The renderer cloned SVG content into the document without sanitising event handlers, and its sanitiser only removed script tags.

    Seen in 1 report
  31. The renderer passed an attacker-controlled data-cfg attribute to a JavaScript evaluator, and the report endpoint validated URLs with a prefix check on un-normalised input.

    Seen in 1 report
  32. The report feature saved input without sanitising before displaying it later.

    Seen in 1 report
  33. The report feature stored user input without sanitising it, and the admin panel built a database query from a URL parameter without parameterisation.

    Seen in 1 report
  34. The report generator embedded the user's access token in image URLs and allowed unsanitised script injection via prompt injection, with a permissive iframe sandbox and a wildcard frame-ancestors policy.

    Seen in 1 report
  35. The report name was stored and rendered without proper output encoding or sanitisation.

    Seen in 1 report
  36. The request path was written into an HTML attribute without output encoding, so quotes in the path close the attribute.

    Seen in 1 report
  37. The request URI was inserted into an anchor href without escaping.

    Seen in 1 report
  38. The requested path was reflected into the error page without encoding.

    Seen in 1 report
  39. The requested URL was inserted directly into an SQL query without escaping.

    Seen in 1 report
  40. The requires_python value was interpolated into an HTML attribute without escaping.

    Seen in 1 report
  41. The resolved module set stored only URL prefixes ending with a slash, not exact script URLs, so the conflict check failed.

    Seen in 1 report
  42. The resource name field was not sanitised when rendered in appointment slots.

    Seen in 1 report
  43. The response-modification API did not check whether the target was a restricted site.

    Seen in 1 report
  44. The REST API error page reflected user-supplied parameters into the HTML response without output encoding.

    Seen in 1 report
  45. The return parameter was reflected into the DOM without sanitisation and the access token cookie lacked HttpOnly.

    Seen in 1 report
  46. The return URL was not validated to reject control characters such as tabs.

    Seen in 1 report
  47. The return_url parameter was reflected into the page without validation or encoding, allowing a javascript: URL to execute.

    Seen in 1 report
  48. The returnPath value was assigned to a link href without checking it was a safe URL.

    Seen in 1 report
  49. The ReturnUrl parameter was reflected into the page without content-based escaping, allowing a javascript: value to execute.

    Seen in 1 report
  50. The rich text editor did not properly sanitise user-supplied HTML, allowing attribute injection that broke out of an image tag and added an event handler.

    Seen in 1 report