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,951 to 2,000 of 2,345
  1. The Social Media Links field did not sanitise user input before storing and rendering it.

    Seen in 1 report
  2. The source branch name was marked as HTML-safe without proper escaping.

    Seen in 1 report
  3. The spec URL parameter accepts any external URL without domain allowlisting.

    Seen in 1 report
  4. The standard HTML filter does not restrict unsafe CSS properties such as fixed positioning and high z-index.

    Seen in 1 report
  5. The state parameter was embedded in the HTML form without sanitisation.

    Seen in 1 report
  6. The state parameter was inserted directly into an HTML attribute without encoding, allowing HTML injection.

    Seen in 1 report
  7. The state parameter was reflected into a JavaScript string without escaping backslashes.

    Seen in 1 report
  8. The storage service lets a request parameter override the response Content-Type at serve time after the upload-time type was set, and the app trusts the upload-time check as its only defence.

    Seen in 1 report
  9. The store address field was not sanitised before being rendered in the email template editor.

    Seen in 1 report
  10. The storefront password cookie was issued without the HttpOnly attribute.

    Seen in 1 report
  11. The Stream plugin logged the file query parameter from a redirect URL without proper HTML sanitisation before displaying it in the admin panel.

    Seen in 1 report
  12. The streaming code path did not call the same guard against mutating a script root element that the non-streaming fragment parser uses.

    Seen in 1 report
  13. The streaming path parsed into the live document with the active custom element registry, so callbacks ran before sanitisation, unlike setHTML which parses into an inert template.

    Seen in 1 report
  14. The student's name was stored without sanitising and later rendered unsafely in the delete confirmation or list.

    Seen in 1 report
  15. The stylesheet filename length was not validated before being written to the database.

    Seen in 1 report
  16. The subject from an uploaded .eml file was inserted into the email view without sanitising or encoding.

    Seen in 1 report
  17. The subject was output into an HTML attribute without attribute escaping.

    Seen in 1 report
  18. The submitted password was included in the response body instead of being omitted or masked.

    Seen in 1 report
  19. The successRedirect parameter was reflected without sanitisation or encoding.

    Seen in 1 report
  20. The suggested-edit preview rendered user-supplied HTML without proper sanitisation, and the edit-approval endpoint lacked CSRF protection beyond CORS.

    Seen in 1 report
  21. The survey name was stored and inserted into the page without output encoding, and the delete endpoint authorised by session and XSRF token only.

    Seen in 1 report
  22. The SVG sanitiser did not account for an animation element changing a link attribute to a script URL after sanitisation.

    Seen in 1 report
  23. The SVG sanitiser did not correctly handle XML entities, so the whitelist was not applied to the resulting content.

    Seen in 1 report
  24. The SVG script element's child-change handler omits the in-progress atomic move check that the HTML script handler has.

    Seen in 1 report
  25. The SVG serialiser did not escape special characters in attribute values and text nodes.

    Seen in 1 report
  26. The SWF attempted to strip flashVars but did so incorrectly, leaving a way to inject script via ExternalInterface.

    Seen in 1 report
  27. The SWF loaded an attacker-controlled resource module via FlashVars without proper security checks.

    Seen in 1 report
  28. The SWF reflected user-controlled parameters into HTML content without sanitising them, and the click-handling race could be won by reloading the file repeatedly.

    Seen in 1 report
  29. The system parameter was reflected into the HTML response without encoding.

    Seen in 1 report
  30. The tags parameter was used to build an XHR whose response was inserted into the page and executed as JavaScript.

    Seen in 1 report
  31. The target branch name was not escaped when rendered in the merge request interface.

    Seen in 1 report
  32. The task identifier parameter was reflected without validation or encoding.

    Seen in 1 report
  33. The team name input was not sanitised or escaped before being rendered in the context of inviting members.

    Seen in 1 report
  34. The telemetry location parameter was inserted into the page without encoding or validation.

    Seen in 1 report
  35. The template engine escaped HTML characters but not backslashes, allowing a backslash to break out of a JavaScript string literal.

    Seen in 1 report
  36. The template engine was not instructed to escape output for the JavaScript context, and GET parameters were not encoded before insertion into the script.

    Seen in 1 report
  37. The template escaped the review URL for the title attribute but not for the href attribute.

    Seen in 1 report
  38. The template name read from the file header was echoed into the page without HTML escaping.

    Seen in 1 report
  39. The template name was inserted via innerHTML without sanitisation and the CSP allowed a JSONP endpoint on a whitelisted domain.

    Seen in 1 report
  40. The text editor does not sanitise pasted HTML.

    Seen in 1 report
  41. The text-to-visual conversion did not sanitise HTML before rendering.

    Seen in 1 report
  42. The theme does not sanitise input in the portfolio module description before storing and rendering.

    Seen in 1 report
  43. The theme failed to sanitise or escape user-supplied input on a publicly accessible page.

    Seen in 1 report
  44. The theme installer did not sanitise file contents inside the uploaded theme zip before displaying them.

    Seen in 1 report
  45. The theme preview page added message event data to the DOM without verifying the sender origin.

    Seen in 1 report
  46. The theme preview template inserted the theme_handle parameter without escaping single quotes.

    Seen in 1 report
  47. The ticket page rendered the display name without output encoding even though the profile page validated it.

    Seen in 1 report
  48. The ticket subject was inserted into HTML emails without encoding or sanitising.

    Seen in 1 report
  49. The TID query parameter was reflected into the page inside a script and body context without output encoding, and the WAF's signature rules did not cover a body background attribute.

    Seen in 1 report
  50. The time parameter was written into the page without encoding and the server listed directories without index pages.

    Seen in 1 report