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.
-
URL path was inserted into an HTML attribute without escaping.
-
URL path was used in a response header unsanitised and a cookie value was reflected into HTML without encoding.
Seen in 1 report
-
URL validation used a regex that treated an at sign as part of an http URL and did not decode percent-encoded slashes before checking the scheme.
Seen in 1 report
-
URL values were inserted into hidden input fields without encoding or validation.
Seen in 1 report
-
User comments were rendered inside an AngularJS-compiled region without being marked non-bindable.
Seen in 1 report
-
User data was included in HTML output without escaping.
Seen in 1 report
-
User HTML was stored without sanitising event-handler attributes such as onload.
Seen in 1 report
-
User input from a parameter was reflected into the page without output encoding or sanitisation.
-
User input from a URL parameter was stored in a cookie without sanitisation and inserted into a script tag without encoding.
Seen in 1 report
-
User input from profile fields and a public form was stored without sanitisation or output encoding and rendered on the Members page.
-
User input from the URL path and search field was reflected without encoding.
Seen in 1 report
-
$500 Medium
-
-
User input in a sharing message was included in an outgoing email without sanitisation.
-
User input in the custom tags feature was not sanitised or encoded, so a crafted payload bypassed the existing filter.
Seen in 1 report
-
User input in the department group name field was stored and rendered without sanitising or escaping.
Seen in 1 report
-
User input in the URL path was reflected into a toast message without sanitisation.
Seen in 1 report
-
User input was inserted into the DOM via innerHTML without sanitisation.
-
User input was inserted into an inline event handler without encoding and WAF rules were too narrow.
Seen in 1 report
-
User input is not encoded before rendering in the promo code page.
Seen in 1 report
-
User input was reflected into HTML without output encoding on an error page and admin panel.
-
User input was assigned to innerHTML before being sanitised, and event handlers executed even before the element was added to the DOM.
Seen in 1 report
-
User input was concatenated into a fetch URL without validation and the fetched data was inserted with innerHTML.
Seen in 1 report
-
User input was concatenated into a URL string without encoding or validation.
Seen in 1 report
-
User input was concatenated into JavaScript strings without escaping.
-
User input was embedded in an AngularJS template without sanitisation, and an API accepted arbitrary file paths including SMB URIs.
Seen in 1 report
-
User input was embedded into a client-side Angular template without sanitising template expressions.
Seen in 1 report
-
User input was embedded into a JavaScript string without encoding quotation marks.
Seen in 1 report
-
User input was embedded into a JSON string without escaping, allowing JSON syntax injection.
Seen in 1 report
-
User input was inserted into a JavaScript context without proper escaping or encoding, allowing a break out of the script block.
Seen in 1 report
-
User input was inserted into a quoted HTML attribute without context-aware encoding or allowlist validation.
Seen in 1 report
-
User input was inserted into a translation token and, when the token was missing, output raw without HTML escaping.
Seen in 1 report
-
User input was inserted into pages without sanitisation or encoding, and client-side and server-side filters could be bypassed.
Seen in 1 report
-
User input was inserted into the page, into JavaScript objects or into message handlers without validation, and message senders were trusted without origin checks.
Seen in 1 report
-
User input was interpolated into an HTML attribute without escaping double quotes, and the sanitiser ran before the dangerous HTML was built.
Seen in 1 report
-
User input was not encoded on output and there was no Content Security Policy to block inline scripts.
Seen in 1 report
-
User input was not properly encoded when rendered on the sign-in page.
-
User input was not sanitised and no contextual output encoding was applied when rendering stored data on the Print Page.
Seen in 1 report
-
User input was not sanitised before being embedded in email templates, allowing hyperlink injection and server-side template evaluation.
-
User input was not sanitised or encoded before being stored and rendered across several features.
Seen in 1 report
-
User input was passed into $parse, which evaluates it as an expression, and the sandbox could be escaped using constructor properties and the orderBy filter.
Seen in 1 report
-
User input was placed in the Location header without stripping newline characters.
Seen in 1 report
-
User input was reflected into a script context without sanitising and the page did not send X-Frame-Options.
Seen in 1 report
-
User input was reflected into an HTML attribute context without encoding, letting an attacker add new attributes to a hidden input.
Seen in 1 report
-
User input was reflected into an XML response without output encoding and the POST endpoint lacked CSRF protection.
Seen in 1 report
-
User input was reflected into HTML without encoding and the WAF could be bypassed with an SVG onload handler.
Seen in 1 report
-
User input was reflected into HTML without output encoding and unsafe DOM manipulation was used.
Seen in 1 report
-
User input was reflected into the HTML response without context-aware output encoding.
-
User input was reflected into the page without sanitisation in file sharing.
Seen in 1 report
-
User input was saved and inserted directly into the page HTML without output encoding or sanitisation.
Seen in 1 report
-
User input was stored in a cookie and later reflected into the page without output encoding.
Seen in 1 report
-
User path input was reflected into an HTML attribute without encoding single quotes.
Seen in 1 report