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 801 to 850 of 2,345
  1. The redirect parameter did not validate or restrict the URL scheme.

    Seen in 1 report
  2. The redirect parameter was written into a script context without output encoding.

    Seen in 1 report
  3. Redirect URI validation only checked for the presence of a scheme separator and did not enforce an allowlist.

    Seen in 1 report
  4. Redirect validation only checked that the URL string ended with the expected host and the application double URL-decoded.

    Seen in 1 report
  5. redirect_to was passed directly to router.replace without validation, and the CORS origin check used a suffix match instead of an exact match.

    Seen in 1 report
  6. redirect_uri was inserted into an HTML attribute without escaping.

    Seen in 1 report
  7. redirect_uri was reflected without validating that it is a safe URL scheme.

    Seen in 1 report
  8. redirect_url was passed to a navigation sink without validating for a safe http(s) URL.

    Seen in 1 report
  9. redirectUrl accepted a javascript: scheme without validation.

    Seen in 1 report
  10. A Facility parameter was reflected into the HTML response without output encoding or validation.

    Seen in 1 report
  11. A login parameter was reflected into the HTML response without output encoding or sanitisation.

    Seen in 1 report
  12. A nextUrl parameter was reflected into an anchor tag without proper output encoding and an arbitrary redirectUrl was accepted in a 2FA login link.

    Seen in 1 report
  13. A parameter was reflected without encoding so a double quote broke out of an attribute.

    Seen in 1 report
  14. A parameter was reflected without output encoding or input sanitisation.

    Seen in 1 report
  15. A query parameter was reflected without correct output encoding and the site relied on a WAF instead of safe encoding.

    Seen in 1 report
  16. A redirect parameter was reflected into the body of a 302 response and the Location header was dropped on control characters instead of rejecting the request.

    Seen in 1 report
  17. A URL parameter was reflected into the page's HTML without proper encoding.

    Seen in 1 report
  18. The User-Agent header was reflected into an HTML response without encoding or validating it.

    Seen in 1 report
  19. User input was reflected in multiple contexts without proper encoding.

    Seen in 1 report
  20. User-supplied HTML and JavaScript were reflected without sanitisation and authentication tokens were stored in localStorage.

    Seen in 1 report
  21. User-supplied input was reflected into the HTML response without encoding or sanitising.

    Seen in 1 report
  22. Regex-based sanitisation removed only specific characters and patterns, allowing breakout from the JavaScript context.

    Seen in 1 report
  23. Registration fields were stored without sanitisation and later rendered as HTML in an admin page.

    Seen in 1 report
  24. Registration input was stored unsanitised and later rendered unsafely in an email template.

    Seen in 1 report
  25. Registration input was stored without sanitising or escaping before rendering in another page or panel.

    Seen in 1 report
  26. Registration names were not sanitised or encoded before insertion into confirmation emails.

    Seen in 1 report
  27. The regular expression used to strip HTML tags was insufficient and could be bypassed.

    Seen in 1 report
  28. Regular expressions allowed dangerous CSS expressions to be reintroduced after substitution and permitted data URLs for images without checking for embedded script.

    Seen in 1 report
  29. The site relied on a blacklist that blocks common handlers but not less common ones, without context-aware output encoding.

    Seen in 1 report
  30. The site relied on client-side filtering instead of server-side sanitisation.

    Seen in 1 report
  31. The site relied on client-side or transport encoding and did not sanitise the profile Description value before storing and rendering it.

    Seen in 1 report
  32. The site relied on pattern matching and semantic analysis that obfuscated payloads can evade.

    Seen in 1 report
  33. Remote email HTML was rendered in an unsandboxed srcDoc iframe and a broad privileged API was exposed to that renderer.

    Seen in 1 report
  34. Remote SVG content was proxied from the forum's own origin without sandboxing or sanitising.

    Seen in 1 report
  35. Model-generated SVG was rendered directly into the page without sanitising event attributes, scriptable elements or external references.

    Seen in 1 report
  36. Report title and details were stored without escaping.

    Seen in 1 report
  37. Reports were fetched by name from the request path without checking the requesting user's access, and comments were not sanitised.

    Seen in 1 report
  38. Repository names were stored without sanitisation and inserted directly into the page as raw HTML.

    Seen in 1 report
  39. Request data was reflected into the page without proper encoding.

    Seen in 1 report
  40. Request headers were logged and shown in an admin dashboard without HTML encoding.

    Seen in 1 report
  41. Request parameter values were inserted into HTML attributes without HTML encoding.

    Seen in 1 report
  42. Request parameters were extracted into global variables without proper initialisation.

    Seen in 1 report
  43. The request URI was parsed inconsistently for the Location header and the HTML fallback link.

    Seen in 1 report
  44. Request validation did not properly decode or normalise encoded input when error handling was set to ignore.

    Seen in 1 report
  45. Restaurant and dish names were inserted into search results without output encoding.

    Seen in 1 report
  46. A search value was returned without proper escaping and inserted with an HTML-interpreting sink such as .html().

    Seen in 1 report
  47. Review content was stored without sanitisation and injected as raw HTML instead of being escaped by the frontend framework.

    Seen in 1 report
  48. Review fields were reflected without encoding.

    Seen in 1 report
  49. Same-origin checks compared origins using a deprecated helper that returns an empty value for blob: URLs, so two different blob: URLs compared as equal.

    Seen in 1 report
  50. Sanitisation checked regular markdown links but not autolinks, so non-HTTP protocols were not filtered.

    Seen in 1 report