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.
-
Metadata values were returned without sanitising or escaping.
Seen in 1 report
-
Middleware stripped the Location header when it contained control characters, leaving the fallback HTML link controllable.
-
Missing access control on element creation plus lack of input sanitisation allowed stored XSS in every account.
Seen in 1 report
-
Missing authentication on an internal dashboard combined with no upload validation and unsanitised reflected input.
Seen in 1 report
-
Missing context-aware output encoding: the search term was echoed directly into an HTML heading.
-
Missing or flawed origin validation, destination checks, and input validation in postMessage event listeners and senders within SSO flows.
-
Missing or insufficient output encoding or validation of user-controlled data before rendering.
Seen in 1 report
-
The CMS search parameter lacked output encoding, verbose errors printed database credentials, and an API returned more user fields than needed.
-
User-supplied data was not validated or sanitised before being rendered in the app's WebView.
-
Several service dashboards lacked input sanitisation and output encoding.
Seen in 1 report
-
Multiple values of the same parameter were concatenated without sanitising before being embedded in a script context, and the filter only checked the first occurrence.
Seen in 1 report
-
Mutation XSS: browser parsing of SVG and MathML changes the DOM after sanitisation so an event handler survives.
Seen in 1 report
-
Medium
-
-
Nested email tags in signatures were incompletely sanitised.
Seen in 1 report
-
New registry accessors omitted the main-world guard and the whenDefined promise map was shared across worlds.
Seen in 1 report
-
Newlines in the request path were not sanitised before being written into response headers, and files were served by user-controlled extension.
Seen in 1 report
-
Nicknames were inserted into the seen list without encoding.
Seen in 1 report
-
There was no authorisation check when re-enabling a disabled account, and the username was not encoded in the admin overview.
Seen in 1 report
-
A non-frame-bound JavaScript evaluation API did not verify the frame's current origin at execution time.
Seen in 1 report
-
Top-level navigation restrictions were not applied to redirects issued by service workers.
Seen in 1 report
-
The user parameter in a captive portal endpoint was not properly sanitised.
-
User-controlled input in forum posts was not properly sanitised, and the initial fix was incomplete.
Seen in 1 report
-
Note content was rendered as HTML without sanitisation and Node.js integration was enabled in the renderer.
Seen in 1 report
-
Note content was rendered without sanitising HTML entities in the clipped source title attribute, reaching Electron IPC.
Seen in 1 report
-
$2,000 High
-
-
OCR link detection trusted text in images and did not validate the resulting URL scheme.
Seen in 1 report
-
oEmbed provider validation was insufficient, allowing an attacker-controlled proxy to supply a malicious embed response.
Seen in 1 report
-
An older API version lacked the sanitisation present in the current version.
Seen in 1 report
-
One language's translator feature rendered user text as HTML while other languages encoded it.
Seen in 1 report
-
Only double quotes were replaced, so the script tag could still be closed.
Seen in 1 report
-
Only one parameter was checked against a short blocklist and the JavaScript escaping function did not perform HTML-specific escaping.
Seen in 1 report
-
Only the first importer step was protected with a nonce, leaving later steps such as import unprotected.
Seen in 1 report
-
Organisation members were approved automatically without review.
Seen in 1 report
-
Origin validation compared the message origin to the referrer, which the opener controls.
Seen in 1 report
-
Origin validation for postMessage did not correctly handle requests originating from FTP URLs.
Seen in 1 report
-
Origin validation used a string search converted to a regular expression where dots act as wildcards.
Seen in 1 report
-
Origin validation used a suffix match on the hostname without ensuring the match occurred at a dot boundary.
Seen in 1 report
-
Origin, params and flow name were inserted into JavaScript and HTML without encoding or validation.
Seen in 1 report
-
The original message was embedded into a textarea without HTML encoding, so a closing tag breaks out.
-
An outdated editor version did not sanitise HTML inserted via drag and drop.
Seen in 1 report
-
$2,000 Medium
-
-
Outdated internet-facing Jira versions with publicly known vulnerabilities were left unpatched.
Seen in 1 report
-
An outdated player accepted a remote config URL and executed script from it without validation.
-
An outdated plugin with a known DOM XSS was left in place.
Seen in 1 report
-
Outlook failed to properly sanitise or validate the content of meeting invitation requests, allowing cross-site scripting.
Seen in 1 report
-
Output encoding differed between the web interface and the email template, and email changes were not verified.
-
Output encoding or sanitisation neutralised the stored content, preventing script execution.
-
Output of a sandboxed context was treated as trusted and inserted into the main document, so the sandbox isolation did not apply.
Seen in 1 report
-
Tracker names were output on the conversion statistics page without HTML escaping.
Seen in 1 report
-
The owner name was inserted into a JavaScript context without escaping angle brackets and slashes.
Seen in 1 report
-
Page fields were saved without server-side sanitisation and rendered directly into HTML while relying on client-side editor encoding for other fields.
Seen in 1 report
-
Page paths were rendered as clickable links without validating the URL scheme.
Seen in 1 report
-
Parameter names and values were HTML-entity-encoded then interpolated unquoted into an inline script as object keys, so bracket syntax formed an evaluated expression.