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 951 to 1,000 of 2,345
  1. The active tab and its last committed URL were resolved after the dismissal animation instead of being pinned when the bookmarklet was tapped.

    Seen in 1 report
  2. The activity did not check that the URL scheme was http or https before passing it to the WebView, which handled javascript: URLs by default.

    Seen in 1 report
  3. The activity list inserted the stored hostname into the page without HTML-encoding it.

    Seen in 1 report
  4. The activity was exported and passed an externally supplied URL straight to a WebView without validating the sender or destination.

    Seen in 1 report
  5. The ad network script failed to encode user-controlled URL input before inserting it into a JavaScript context.

    Seen in 1 report
  6. The address value was inserted into an AngularJS template context and evaluated by an old engine.

    Seen in 1 report
  7. The admin display function used mark_safe with Python percent formatting on unsanitised user input, bypassing Django's automatic escaping.

    Seen in 1 report
  8. The admin panel rendered merchant-supplied text without HTML encoding and the CSP allowed inline script.

    Seen in 1 report
  9. The admin panel trusted postMessage data and used the supplied pathname to navigate without validating it.

    Seen in 1 report
  10. The AEM debug layout mode echoed the URL path into the page without HTML-escaping it, and debug mode was left enabled in production.

    Seen in 1 report
  11. The age value was stored and written into a page without output encoding, and the set endpoint accepted it without a CSRF token.

    Seen in 1 report
  12. The AI followed instructions embedded in an email and its generated HTML was inserted into the reply editor without sanitisation.

    Seen in 1 report
  13. The AI search feature did not sanitise input before rendering it as HTML.

    Seen in 1 report
  14. The AJAX endpoint returned JSON with a text/html content type.

    Seen in 1 report
  15. The AJAX handler passed user options to a renderer and to unserialize without validation.

    Seen in 1 report
  16. The alert component marked its message as HTML safe and built it from an admin-editable name through a non-HTML translation key.

    Seen in 1 report
  17. The allow-list included mutation-prone tags and the preview was rendered with jQuery's html method, which re-parses and mutates the markup.

    Seen in 1 report
  18. The allow-list permits iframe elements with arbitrary https sources and style attributes without a sandbox or trusted-origin restriction.

    Seen in 1 report
  19. The alternative text field of the URL dialog was not sanitised, allowing script injection.

    Seen in 1 report
  20. The amsVideo parameter was placed into a page without validation or encoding.

    Seen in 1 report
  21. The Angular template engine evaluated user input as an expression, and an earlier fix did not cover all input paths.

    Seen in 1 report
  22. The AngularJS expression sandbox relied on native JavaScript functions behaving normally, so overwriting them from an expression corrupted the sanitiser.

    Seen in 1 report
  23. The Apache SAPI module inserted the request body into the output brigade without escaping.

    Seen in 1 report
  24. The app concatenated an unsanitised deep link path segment into a JavaScript string passed to loadDataWithBaseURL.

    Seen in 1 report
  25. The app did not escape URL parameters when constructing JavaScript for the login page.

    Seen in 1 report
  26. The app failed to sanitise or encode contact names before rendering them in a WebView.

    Seen in 1 report
  27. The app inserted product and collection names into its pages without escaping.

    Seen in 1 report
  28. The app inserted URL arguments into a JavaScript string and evaluated it, while its escaping left single quotes unmodified.

    Seen in 1 report
  29. The app kept the private key's decryption material in browser storage where any script in the page could read it.

    Seen in 1 report
  30. The app loaded user-supplied HTML in a WebView without sanitising it and with JavaScript enabled.

    Seen in 1 report
  31. The app name was inserted into an anchor's href without sanitisation, and the pipe delimiter was not filtered, allowing a javascript: URL.

    Seen in 1 report
  32. The app name was stored and rendered into the app page without HTML encoding, allowing markup in the name to be interpreted as code.

    Seen in 1 report
  33. The app reflected an untrusted X-Forwarded-Host header into body attributes that drove a client-side fetch whose JSON was written unescaped.

    Seen in 1 report
  34. The app registered a JavaScript bridge with sensitive methods and allowed a deep link to load arbitrary URLs without validation.

    Seen in 1 report
  35. The app rendered user-supplied SVG content without sanitising or restricting script execution.

    Seen in 1 report
  36. The app rendered XML attachments as active content without sanitising or isolating them.

    Seen in 1 report
  37. The App Service failed to sanitise or encode user-supplied input before reflecting it back into pages.

    Seen in 1 report
  38. The app trusted a client-supplied X-Forwarded-For header for logging instead of only from a known proxy.

    Seen in 1 report
  39. The app's HTML sanitiser was not applied correctly or the rendered content was loaded in a privileged origin.

    Seen in 1 report
  40. The application accepted HTML input and relied on a blacklist that only stripped script tags.

    Seen in 1 report
  41. The application accepted SVG uploads and served them inline from the main application origin with the SVG content type and no enforcing CSP.

    Seen in 1 report
  42. The application accepted unsigned tokens and trusted a URL claim from the token to configure external content loading.

    Seen in 1 report
  43. The application built absolute links from the request Host header and stored them in the page cache without a canonical URL check.

    Seen in 1 report
  44. The application built HTML by concatenating a user-controlled attribute value into a string and then inserted it via innerHTML without encoding, allowing HTML injection.

    Seen in 1 report
  45. The application decoded a base64-encoded parameter and inserted the result into the HTML without sanitising it.

    Seen in 1 report
  46. The application did not enforce unique extension names or verify the source of official extensions.

    Seen in 1 report
  47. The application did not escape user-supplied HTML in the Company Name field before embedding it in the confirmation email.

    Seen in 1 report
  48. The application did not properly encode or sanitise user-supplied display names before rendering them in the chat module's information view.

    Seen in 1 report
  49. The application did not properly sanitise user input in the first name and last name fields, allowing stored XSS.

    Seen in 1 report
  50. The application did not revoke existing sessions when the password changed.

    Seen in 1 report