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 extension details page rendered attacker-influenced content without proper neutralisation.
Seen in 1 report
-
The extension failed to sanitise the URL before inserting it into HTML.
Seen in 1 report
-
The extension manifest lists a whole domain as externally connectable, exposing privileged messages to any page on it.
Seen in 1 report
-
The extension relied on its own URL parsing and on postMessage without proper origin checks, and allowed websites to load extension pages that had unsafe message handlers.
Seen in 1 report
-
The extension rendered search-result data as raw HTML in the page DOM without escaping.
Seen in 1 report
-
The extension treated server-supplied tag strings as HTML and inserted them without sanitising or escaping them.
Seen in 1 report
-
The extension trusted messages from any origin and inserted unescaped remote data into executed JavaScript.
-
The extension trusted the URL fragment for navigation and display without validation.
Seen in 1 report
-
The external link helper does not validate the URL scheme.
Seen in 1 report
-
$1,130 Medium
-
-
The failure_message field was treated as safe and rendered without sanitisation.
Seen in 1 report
-
The favourites request lacked a CSRF token and the X-Requested-With header.
Seen in 1 report
-
The feedback endpoint stored fields without sanitising them, and the internal review panel rendered them as HTML.
Seen in 1 report
-
The feedback message was stored and rendered in an internal dashboard without sanitisation or a restrictive CSP.
Seen in 1 report
-
The fetcher trusted the content type and extension from the remote page and stored the resource without validation.
Seen in 1 report
-
The file location parameter was passed to a redirect without validating the destination.
Seen in 1 report
-
The file name parameter was reflected without neutralising carriage-return and line-feed characters or HTML escaping.
Seen in 1 report
-
The file title was not sanitised, and the export endpoint served JSON as text/html.
Seen in 1 report
-
The file was opened with create-and-write flags rather than append-only, and duplicated descriptors shared one kernel file offset.
Seen in 1 report
-
The file_create_filename function did not sanitise or validate user-supplied filename input.
Seen in 1 report
-
The filename preview was inserted using innerHTML instead of textContent.
Seen in 1 report
-
The filename sanitiser returned a numeric value instead of a string for Unicode input, and the result was not HTML-escaped.
Seen in 1 report
-
The filename was interpolated into a localised string before the bold markers were parsed, and the marker tokens are legal filename characters the sanitiser did not remove.
Seen in 1 report
-
The filename was not encoded when displayed in a rename error message.
Seen in 1 report
-
The fileset creation endpoint lacked a CSRF token check, and the name was rendered without output encoding.
Seen in 1 report
-
The filter blacklisted standard tags but did not sanitise event handler attributes and allowed custom tags.
-
The filter blocked common script tags but did not sanitise iframe elements with data: URIs.
Seen in 1 report
-
The filter blocked only complete unencoded tags and did not sanitise HTML-encoded characters.
Seen in 1 report
-
The filter removed raw parenthesis characters before the browser decoded HTML entities, and the input was then written to innerHTML.
Seen in 1 report
-
The filter removed script tags and event handlers but did not account for a script tag placed inside an event handler name.
Seen in 1 report
-
The filter searched for literal scheme strings instead of parsing and sanitising links.
Seen in 1 report
-
The filter used the pre element's lang attribute without validation and concatenated it into an image tag string.
Seen in 1 report
-
$13,950 High
-
-
The filter value taken from the query string was written into the generated page without output encoding.
Seen in 1 report
-
The finalize endpoint stored the attacker-supplied sub-size filename verbatim, and the legacy media popup echoed the URL into an HTML attribute without escaping.
-
The First Name value was inserted into the email body without HTML encoding.
Seen in 1 report
-
The first name value was interpolated into the HTML email body without entity encoding or validation.
Seen in 1 report
-
The first name was inserted into an HTML attribute without encoding quotes or angle brackets.
Seen in 1 report
-
The first name was inserted into the email body without escaping, so mail clients rendered URLs as live links.
Seen in 1 report
-
The first name was stored unsanitised and inserted into email bodies without HTML encoding.
Seen in 1 report
-
The fix only restricted the first parameter's length and did not handle duplicate parameters.
Seen in 1 report
-
The fix used a naive substring check on the URL instead of parsing and validating the parentOrigin parameter.
-
The Flash file compared raw URL parameter names against actual parameters, but Flash strips invalid escapes so the names did not match.
Seen in 1 report
-
The Flash file passed a URL fragment into document.write without sanitisation.
Seen in 1 report
-
The Flash file rendered its text parameter as HTML without sanitising it.
Seen in 1 report
-
The Flash file took a JavaScript init function name from the URL and called it without validation.
Seen in 1 report
-
The Flash player searched for its MIME string anywhere in the Content-Type header.
Seen in 1 report
-
The folder name was inserted into the page as raw HTML instead of being escaped or treated as text, so markup in the name became live elements.
Seen in 1 report
-
The folder name was rendered without encoding, and the endpoint trusted a client-supplied company identifier.
Seen in 1 report
-
The folder-view endpoint inserted the stored folder name into the page without the sanitisation applied by the folder-creation endpoint.
Seen in 1 report
-
The font matrix array elements were not type-checked, allowing strings to be interpolated into generated JavaScript.
Seen in 1 report
-
The FontMatrix array from the PDF was interpolated directly into a generated JavaScript string without validating that each element was numeric.
Seen in 1 report