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.
-
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
-
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
-
The activity list inserted the stored hostname into the page without HTML-encoding it.
Seen in 1 report
-
The activity was exported and passed an externally supplied URL straight to a WebView without validating the sender or destination.
Seen in 1 report
-
The ad network script failed to encode user-controlled URL input before inserting it into a JavaScript context.
Seen in 1 report
-
The address value was inserted into an AngularJS template context and evaluated by an old engine.
Seen in 1 report
-
The admin display function used mark_safe with Python percent formatting on unsanitised user input, bypassing Django's automatic escaping.
Seen in 1 report
-
The admin panel rendered merchant-supplied text without HTML encoding and the CSP allowed inline script.
Seen in 1 report
-
$350 Medium
-
-
The admin panel trusted postMessage data and used the supplied pathname to navigate without validating it.
Seen in 1 report
-
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
-
The age value was stored and written into a page without output encoding, and the set endpoint accepted it without a CSRF token.
-
The AI followed instructions embedded in an email and its generated HTML was inserted into the reply editor without sanitisation.
Seen in 1 report
-
The AI search feature did not sanitise input before rendering it as HTML.
Seen in 1 report
-
The AJAX endpoint returned JSON with a text/html content type.
Seen in 1 report
-
The AJAX handler passed user options to a renderer and to unserialize without validation.
Seen in 1 report
-
The alert component marked its message as HTML safe and built it from an admin-editable name through a non-HTML translation key.
-
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
-
The allow-list permits iframe elements with arbitrary https sources and style attributes without a sandbox or trusted-origin restriction.
Seen in 1 report
-
The alternative text field of the URL dialog was not sanitised, allowing script injection.
Seen in 1 report
-
The amsVideo parameter was placed into a page without validation or encoding.
Seen in 1 report
-
The Angular template engine evaluated user input as an expression, and an earlier fix did not cover all input paths.
Seen in 1 report
-
The AngularJS expression sandbox relied on native JavaScript functions behaving normally, so overwriting them from an expression corrupted the sanitiser.
Seen in 1 report
-
The Apache SAPI module inserted the request body into the output brigade without escaping.
Seen in 1 report
-
The app concatenated an unsanitised deep link path segment into a JavaScript string passed to loadDataWithBaseURL.
-
The app did not escape URL parameters when constructing JavaScript for the login page.
Seen in 1 report
-
The app failed to sanitise or encode contact names before rendering them in a WebView.
Seen in 1 report
-
The app inserted product and collection names into its pages without escaping.
-
The app inserted URL arguments into a JavaScript string and evaluated it, while its escaping left single quotes unmodified.
Seen in 1 report
-
The app kept the private key's decryption material in browser storage where any script in the page could read it.
-
The app loaded user-supplied HTML in a WebView without sanitising it and with JavaScript enabled.
Seen in 1 report
-
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
-
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
-
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
-
The app registered a JavaScript bridge with sensitive methods and allowed a deep link to load arbitrary URLs without validation.
Seen in 1 report
-
The app rendered user-supplied SVG content without sanitising or restricting script execution.
-
The app rendered XML attachments as active content without sanitising or isolating them.
-
The App Service failed to sanitise or encode user-supplied input before reflecting it back into pages.
Seen in 1 report
-
The app trusted a client-supplied X-Forwarded-For header for logging instead of only from a known proxy.
Seen in 1 report
-
Info
-
-
The app's HTML sanitiser was not applied correctly or the rendered content was loaded in a privileged origin.
Seen in 1 report
-
The application accepted HTML input and relied on a blacklist that only stripped script tags.
Seen in 1 report
-
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
-
The application accepted unsigned tokens and trusted a URL claim from the token to configure external content loading.
-
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
-
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
-
The application decoded a base64-encoded parameter and inserted the result into the HTML without sanitising it.
Seen in 1 report
-
The application did not enforce unique extension names or verify the source of official extensions.
-
The application did not escape user-supplied HTML in the Company Name field before embedding it in the confirmation email.
-
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
-
The application did not properly sanitise user input in the first name and last name fields, allowing stored XSS.
Seen in 1 report
-
The application did not revoke existing sessions when the password changed.
Seen in 1 report