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 r parameter was reflected into the generated image response without HTML encoding.
-
The raw URI path was reflected into the HTML response without output encoding or input filtering.
Seen in 1 report
-
The raw URL fragment was concatenated into a jQuery selector without encoding, in browsers that do not encode the fragment.
Seen in 1 report
-
The reader loading page substituted the supplied URL without validating its scheme.
Seen in 1 report
-
The Reader Mode viewer generated HTML without a CSP and loaded it with the original URL as base, losing the site's HTTP CSP.
Seen in 1 report
-
The recipe_url parameter was inserted into an href attribute without validating the scheme.
Seen in 1 report
-
$100 Medium
-
-
The recovery parameter was not validated or encoded before use in a form action, and the recovery initiation endpoint lacked CSRF tokens.
Seen in 1 report
-
The redirect function used the raw continue value as a navigation target without validating the scheme.
Seen in 1 report
-
The redirect page executed javascript: URLs without proper sanitisation, and the client-side regex filter could be bypassed by changing the iframe source after the initial page load.
Seen in 1 report
-
The redirect page read the target parameter from the query string and passed it to a location replacement without validating the scheme.
Seen in 1 report
-
The redirect parameter was not restricted to http and https URLs.
Seen in 1 report
-
The redirect parameter was not validated to contain only a safe URL.
Seen in 1 report
-
The redirect parameter was reflected inside an href attribute without scheme validation.
Seen in 1 report
-
The redirect_to query parameter was concatenated into the HTML of the mobile error page without escaping.
Seen in 1 report
-
The redirect_url value was stored in a session cookie and later used as a navigation target without validation.
Seen in 1 report
-
The redirectTo parameter was passed directly into a client-side JavaScript redirect without validating it was a safe http(s) URL.
Seen in 1 report
-
The ReferenceRedactorFilter reused HTML-encoded content from a data-original attribute without re-encoding it.
Seen in 1 report
-
The Referer header value was inserted into a 'go back' link without encoding or validation.
Seen in 1 report
-
The Referer header was inserted unescaped into an onclick attribute.
Seen in 1 report
-
The Referer header was reflected into a cached HTML response without sanitisation or proper cache keys.
Seen in 1 report
-
The Referer header was reflected into an anchor href without validating or encoding it.
Seen in 1 report
-
The referer parameter was inserted into an anchor's href without validating that the scheme was safe.
Seen in 1 report
-
Medium
-
-
The referer parameter was not validated and allowed javascript: URLs, and the invitation endpoint relied on CSRF tokens and user IDs accessible via JavaScript.
Seen in 1 report
-
The referrer's account name was inserted into the notification page without encoding.
Seen in 1 report
-
The reflected URL was HTML-encoded but not JavaScript-encoded before being placed in a script string.
Seen in 1 report
-
The refresh option was concatenated into a single-quoted HTML attribute without htmlspecialchars(), and addslashes() does not protect an HTML attribute context.
Seen in 1 report
-
The regex extracting the authority did not treat the backslash as a terminator while browsers do, a parser differential.
Seen in 1 report
-
The region parameter was written into the HTML response without escaping.
Seen in 1 report
-
Medium
-
-
The regular expression used to detect HTML entities only matched entities not followed by a semicolon, so entities like 
 and : were not converted and the filter failed to spot javascript: in links.
Seen in 1 report
-
The renderer cloned SVG content into the document without sanitising event handlers, and its sanitiser only removed script tags.
Seen in 1 report
-
The renderer passed an attacker-controlled data-cfg attribute to a JavaScript evaluator, and the report endpoint validated URLs with a prefix check on un-normalised input.
Seen in 1 report
-
The report feature saved input without sanitising before displaying it later.
Seen in 1 report
-
The report feature stored user input without sanitising it, and the admin panel built a database query from a URL parameter without parameterisation.
Seen in 1 report
-
The report generator embedded the user's access token in image URLs and allowed unsanitised script injection via prompt injection, with a permissive iframe sandbox and a wildcard frame-ancestors policy.
Seen in 1 report
-
The report name was stored and rendered without proper output encoding or sanitisation.
Seen in 1 report
-
$700 High
-
-
The request path was written into an HTML attribute without output encoding, so quotes in the path close the attribute.
Seen in 1 report
-
The request URI was inserted into an anchor href without escaping.
-
The requested path was reflected into the error page without encoding.
Seen in 1 report
-
Medium
-
-
The requested URL was inserted directly into an SQL query without escaping.
Seen in 1 report
-
The requires_python value was interpolated into an HTML attribute without escaping.
Seen in 1 report
-
$3,000 Medium
-
-
The resolved module set stored only URL prefixes ending with a slash, not exact script URLs, so the conflict check failed.
Seen in 1 report
-
The resource name field was not sanitised when rendered in appointment slots.
Seen in 1 report
-
The response-modification API did not check whether the target was a restricted site.
Seen in 1 report
-
The REST API error page reflected user-supplied parameters into the HTML response without output encoding.
Seen in 1 report
-
The return parameter was reflected into the DOM without sanitisation and the access token cookie lacked HttpOnly.
Seen in 1 report
-
The return URL was not validated to reject control characters such as tabs.
Seen in 1 report
-
The return_url parameter was reflected into the page without validation or encoding, allowing a javascript: URL to execute.
Seen in 1 report
-
$1,500 High
-
-
The returnPath value was assigned to a link href without checking it was a safe URL.
Seen in 1 report
-
The ReturnUrl parameter was reflected into the page without content-based escaping, allowing a javascript: value to execute.
Seen in 1 report
-
The rich text editor did not properly sanitise user-supplied HTML, allowing attribute injection that broke out of an image tag and added an event handler.
Seen in 1 report