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,201 to 2,250 of 2,345
  1. URL path was inserted into an HTML attribute without escaping.

    Seen in 1 report
  2. URL path was used in a response header unsanitised and a cookie value was reflected into HTML without encoding.

    Seen in 1 report
  3. URL validation used a regex that treated an at sign as part of an http URL and did not decode percent-encoded slashes before checking the scheme.

    Seen in 1 report
  4. URL values were inserted into hidden input fields without encoding or validation.

    Seen in 1 report
  5. User comments were rendered inside an AngularJS-compiled region without being marked non-bindable.

    Seen in 1 report
  6. User data was included in HTML output without escaping.

    Seen in 1 report
  7. User HTML was stored without sanitising event-handler attributes such as onload.

    Seen in 1 report
  8. User input from a parameter was reflected into the page without output encoding or sanitisation.

    Seen in 1 report
  9. User input from a URL parameter was stored in a cookie without sanitisation and inserted into a script tag without encoding.

    Seen in 1 report
  10. User input from profile fields and a public form was stored without sanitisation or output encoding and rendered on the Members page.

    Seen in 1 report
  11. User input from the URL path and search field was reflected without encoding.

    Seen in 1 report
  12. User input in a sharing message was included in an outgoing email without sanitisation.

    Seen in 1 report
  13. User input in the custom tags feature was not sanitised or encoded, so a crafted payload bypassed the existing filter.

    Seen in 1 report
  14. User input in the department group name field was stored and rendered without sanitising or escaping.

    Seen in 1 report
  15. User input in the URL path was reflected into a toast message without sanitisation.

    Seen in 1 report
  16. User input was inserted into the DOM via innerHTML without sanitisation.

    Seen in 1 report
  17. User input was inserted into an inline event handler without encoding and WAF rules were too narrow.

    Seen in 1 report
  18. User input is not encoded before rendering in the promo code page.

    Seen in 1 report
  19. User input was reflected into HTML without output encoding on an error page and admin panel.

    Seen in 1 report
  20. User input was assigned to innerHTML before being sanitised, and event handlers executed even before the element was added to the DOM.

    Seen in 1 report
  21. User input was concatenated into a fetch URL without validation and the fetched data was inserted with innerHTML.

    Seen in 1 report
  22. User input was concatenated into a URL string without encoding or validation.

    Seen in 1 report
  23. User input was concatenated into JavaScript strings without escaping.

    Seen in 1 report
  24. User input was embedded in an AngularJS template without sanitisation, and an API accepted arbitrary file paths including SMB URIs.

    Seen in 1 report
  25. User input was embedded into a client-side Angular template without sanitising template expressions.

    Seen in 1 report
  26. User input was embedded into a JavaScript string without encoding quotation marks.

    Seen in 1 report
  27. User input was embedded into a JSON string without escaping, allowing JSON syntax injection.

    Seen in 1 report
  28. User input was inserted into a JavaScript context without proper escaping or encoding, allowing a break out of the script block.

    Seen in 1 report
  29. User input was inserted into a quoted HTML attribute without context-aware encoding or allowlist validation.

    Seen in 1 report
  30. User input was inserted into a translation token and, when the token was missing, output raw without HTML escaping.

    Seen in 1 report
  31. User input was inserted into pages without sanitisation or encoding, and client-side and server-side filters could be bypassed.

    Seen in 1 report
  32. User input was inserted into the page, into JavaScript objects or into message handlers without validation, and message senders were trusted without origin checks.

    Seen in 1 report
  33. User input was interpolated into an HTML attribute without escaping double quotes, and the sanitiser ran before the dangerous HTML was built.

    Seen in 1 report
  34. User input was not encoded on output and there was no Content Security Policy to block inline scripts.

    Seen in 1 report
  35. User input was not properly encoded when rendered on the sign-in page.

    Seen in 1 report
  36. User input was not sanitised and no contextual output encoding was applied when rendering stored data on the Print Page.

    Seen in 1 report
  37. User input was not sanitised before being embedded in email templates, allowing hyperlink injection and server-side template evaluation.

    Seen in 1 report
  38. User input was not sanitised or encoded before being stored and rendered across several features.

    Seen in 1 report
  39. User input was passed into $parse, which evaluates it as an expression, and the sandbox could be escaped using constructor properties and the orderBy filter.

    Seen in 1 report
  40. User input was placed in the Location header without stripping newline characters.

    Seen in 1 report
  41. User input was reflected into a script context without sanitising and the page did not send X-Frame-Options.

    Seen in 1 report
  42. User input was reflected into an HTML attribute context without encoding, letting an attacker add new attributes to a hidden input.

    Seen in 1 report
  43. User input was reflected into an XML response without output encoding and the POST endpoint lacked CSRF protection.

    Seen in 1 report
  44. User input was reflected into HTML without encoding and the WAF could be bypassed with an SVG onload handler.

    Seen in 1 report
  45. User input was reflected into HTML without output encoding and unsafe DOM manipulation was used.

    Seen in 1 report
  46. User input was reflected into the HTML response without context-aware output encoding.

    Seen in 1 report
  47. User input was reflected into the page without sanitisation in file sharing.

    Seen in 1 report
  48. User input was saved and inserted directly into the page HTML without output encoding or sanitisation.

    Seen in 1 report
  49. User input was stored in a cookie and later reflected into the page without output encoding.

    Seen in 1 report
  50. User path input was reflected into an HTML attribute without encoding single quotes.

    Seen in 1 report