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.
-
Input inserted into JavaScript contexts without sanitisation.
Seen in 1 report
-
Input normalisation converted a fullwidth less-than into a regular less-than after or without HTML escaping.
Seen in 1 report
-
$1,000 High
-
-
Input reflected in an error message without encoding.
Seen in 1 report
-
Input reflected into a JavaScript function definition without sanitisation.
Seen in 1 report
-
Input reflected into a page AngularJS compiles, so expressions are evaluated.
Seen in 1 report
-
Input rendered through an AngularJS template instead of being shown as text.
Seen in 1 report
-
Input sanitisation for album descriptions could be bypassed in a less commonly used part of the site.
Seen in 1 report
-
Input sanitisation only blocked literal slashes and the exact lowercase word script, and the Facebook login flow lacked proper access control.
Seen in 1 report
-
Input sanitised only during approval, leaving the initial submission unsanitised.
Seen in 1 report
-
Low
-
-
Input stored without sanitisation and rendered later without encoding.
Seen in 1 report
-
Input validation only checked for a valid-looking URL and did not restrict the scheme to http or https.
Seen in 1 report
-
Input was HTML-encoded on save but decoded again during rendering, undoing the protection.
Seen in 1 report
-
Input was inserted into an HTML attribute without proper encoding.
Seen in 1 report
-
Input was inserted into HTML without encoding and a character limit was bypassed by combining two fields.
Seen in 1 report
-
Input was inserted into the page without encoding or validation.
Seen in 1 report
-
Input was passed through a generic text sanitiser but not through attribute escaping before being printed into an HTML attribute.
-
Input was placed into HTML attributes without context-aware encoding and a blacklist sanitiser could be escaped.
Seen in 1 report
-
Input was placed into the Location header without sanitising CRLF characters.
Seen in 1 report
-
Input was reflected into a JavaScript context and an attribute, and URL encoding bypassed the HTML encoding.
Seen in 1 report
-
Input was reflected into a JavaScript context and an incomplete blacklist filter was relied on.
Seen in 1 report
-
Input was reflected into a response header without sanitising CRLF, and the WAF did not inspect compressed bodies.
-
Input was reflected into an href without escaping double quotes.
Seen in 1 report
-
Input was reflected without output encoding and the CSRF token was readable in the HTML source.
Seen in 1 report
-
Input was reflected without sanitisation and an API endpoint exposed session data to any authenticated request.
Seen in 1 report
-
Input was reflected without sanitisation and CAPTCHA tokens were not bound to the session.
Seen in 1 report
-
Input was reflected without sanitisation so the caching server rendered injected ESI tags.
Seen in 1 report
-
Input was reflected without sanitisation, the saving form had no CSRF token or SameSite protection, and session cookies were not HttpOnly.
Seen in 1 report
-
Input was stored and rendered without output encoding.
Seen in 1 report
-
Input was stored as-is and echoed into HTML templates without contextual encoding.
Seen in 1 report
-
Inserting a member display name into an invitation email template without output encoding.
Seen in 1 report
-
Inserting a returnUrl value into an inline JavaScript event handler without encoding or validation.
Seen in 1 report
-
Inserting a user-supplied message body into outgoing emails without HTML-encoding it.
Seen in 1 report
-
Inserting an error parameter into HTML without output encoding and lacking a Content Security Policy and HttpOnly cookies.
Seen in 1 report
-
Inserting strings and API-returned HTML into the DOM with append and html methods.
Seen in 1 report
-
Inserting user input into HTML output without proper encoding and using incomplete blacklist filters.
-
Inserting user-supplied input into email HTML without escaping it.
Seen in 1 report
-
Installations had not applied the patch for a known cross-site scripting vulnerability.
Seen in 1 report
-
Insufficient filtering of javascript scheme URLs in hyperlinks.
Seen in 1 report
-
Insufficient input sanitisation and output encoding let crafted input render as executable JavaScript.
Seen in 1 report
-
Insufficient input validation and output encoding allowed script and redirect injection.
Seen in 1 report
-
Insufficient output encoding or sanitisation of search parameters.
Seen in 1 report
-
Insufficient sanitisation in the Compass component, weak file type validation in media upload, and loose path validation in the file system component.
Seen in 1 report
-
Insufficient sanitisation of user-supplied content allowed script injection.
Seen in 1 report
-
Insufficient script blocking in the compose window and decrypted plaintext not isolated from script access.
Seen in 1 report
-
Insufficient validation and sanitisation in the Dynamic Client Registration endpoint allowed stored XSS and SSRF.
Seen in 1 report
-
Insufficient validation of URL paths and parameters allowed path traversal and open redirects.
Seen in 1 report
-
Internal application copied data from a third party without validating or sanitising it.
Seen in 1 report
-
Internal JavaScript relied on a page-modifiable built-in to construct IPC messages.
Seen in 1 report
-
Internal security tokens were embedded into page-readable JavaScript and a page-controlled tag was concatenated into executable script.
Seen in 1 report
-
Internet Explorer content-type sniffing treated the uploaded file as HTML.