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 uploader checked only the file extension, not the content or the type finally served.
Seen in 1 report
-
The uploader trusted the client-supplied chunk identifier as a path and served chunks without a safe content type or extension.
Seen in 1 report
-
The URI scheme allow-list in the sanitiser was incomplete and new-tab links omitted rel=noopener.
-
The URL field accepts absolute URLs without validating the scheme.
Seen in 1 report
-
The URL fragment was used as input to a jQuery HTML insertion sink without sanitising it.
Seen in 1 report
-
The URL from the intent was concatenated into an HTML string without encoding, so quote characters broke out of the img src attribute.
Seen in 1 report
-
The URL hash was split and passed to eval without sanitisation.
Seen in 1 report
-
The URL parameter was echoed into the page without output encoding, and the password-change endpoint lacked a CSRF token or origin check.
Seen in 1 report
-
The url parameter was not sanitised when it carried a file scheme, so markup was rendered despite the existing sanitiser.
Seen in 1 report
-
The URL parser did not strip control characters before extracting the protocol, so its check saw a different scheme than the browser did.
Seen in 1 report
-
The URL parsing code only encoded the last @ character, so the actual domain was treated as the username portion of the URL.
Seen in 1 report
-
The URL path was reflected into an HTML comment without encoding, allowing the comment to be closed.
Seen in 1 report
-
The URL restriction was only enforced for http and https schemes, leaving other supported schemes like FTP and Gopher unchecked.
Seen in 1 report
-
The URL scheme in a link field was not validated, so a script scheme was stored and rendered as a clickable link.
-
The URL scheme of the parameter was not validated before reflection into an href.
Seen in 1 report
-
The URL was echoed into a hidden input's value attribute without encoding, allowing attribute breakout.
Seen in 1 report
-
The user input value was echoed directly to the view without filtering.
Seen in 1 report
-
The user name field was not properly sanitised before rendering in the navigation bar.
Seen in 1 report
-
The user name was not sanitised before being placed in an image alt attribute.
Seen in 1 report
-
The user-controlled next parameter was rendered directly into HTML and JavaScript template contexts without escaping or URL scheme validation.
Seen in 1 report
-
The user-supplied content type header was reflected into an error response without sanitisation.
Seen in 1 report
-
The username from the profile update request was stored without sanitisation and rendered without encoding.
Seen in 1 report
-
The username input was reflected into the page without HTML encoding, allowing attribute breakout.
Seen in 1 report
-
The username parameter was echoed into the page without encoding.
Seen in 1 report
-
Medium
-
-
The username parameter was inserted into the HTML form without output encoding and the form had no anti-CSRF token.
Seen in 1 report
-
The username parameter was written into the HTML response without output encoding.
Seen in 1 report
-
The username path segment was inserted into HTML attributes and text without encoding or validation.
Seen in 1 report
-
The username value was inserted into the approval email HTML without encoding.
Seen in 1 report
-
The Username value was rendered in an AngularJS context without sanitisation, so template expressions were evaluated as code.
Seen in 1 report
-
The username value was written into the page's HTML without encoding.
Seen in 1 report
-
The username was inserted with jQuery's .html() instead of .text().
Seen in 1 report
-
The username was not sanitised before being inserted into a meta tag content attribute, allowing attribute injection via single quotes, and a CSRF misconfiguration allowed username changes.
Seen in 1 report
-
The username was stored without sanitising HTML and later rendered unescaped in the password reset email.
Seen in 1 report
-
The userPage parameter is reflected without output encoding.
-
The utm_source query parameter was written into an HTML attribute without encoding or quoting.
Seen in 1 report
-
The v3 API accepted arbitrary text in a URL field without requiring a scheme prefix.
-
The validation endpoint returned plaintext credentials and its tokens could be leaked through script inclusion.
Seen in 1 report
-
$15,300
-
-
The validator allowed id attributes and the runtime used clobberable globals to build script URLs.
Seen in 1 report
-
The validator used a case-sensitive blacklist for the script scheme and did not enforce that the URL strictly begins with http or https.
Seen in 1 report
-
The video BBCode parser called a URL decoder on the URL after the regex filter, letting encoded BBCode break out of HTML attributes.
Seen in 1 report
-
The video name parameter was echoed directly into an HTML comment without sanitisation.
Seen in 1 report
-
The video title is stored without sanitisation and inserted into HTML without escaping.
Seen in 1 report
-
The video title was inserted into search results and suggestion lists without output encoding.
Seen in 1 report
-
The viewer did not isolate the execution context for multipart/x-mixed-replace responses, so a later HTML part ran with the viewer origin.
Seen in 1 report
-
The vlan_id parameter was inserted into HTML without sanitisation.
Seen in 1 report
-
The VNC client trusted server data and OpenStack packaging kept an old vulnerable copy.
Seen in 1 report
-
The WAF and back-end filters failed to normalise input, letting control characters, percent signs and Unicode best-fit matching produce angle brackets.
Seen in 1 report
-
The WAF blocklist omitted certain functions and event handlers and the return URL was inserted into a javascript: URI without sanitisation.
Seen in 1 report
-
The WAF only validated the first occurrence of a repeated parameter.
Seen in 1 report
-
The WAF relied on a blocklist of tags and handlers rather than encoding input.
Seen in 1 report