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 Social Media Links field did not sanitise user input before storing and rendering it.
Seen in 1 report
-
The source branch name was marked as HTML-safe without proper escaping.
Seen in 1 report
-
The spec URL parameter accepts any external URL without domain allowlisting.
Seen in 1 report
-
The standard HTML filter does not restrict unsafe CSS properties such as fixed positioning and high z-index.
Seen in 1 report
-
The state parameter was embedded in the HTML form without sanitisation.
-
The state parameter was inserted directly into an HTML attribute without encoding, allowing HTML injection.
Seen in 1 report
-
The state parameter was reflected into a JavaScript string without escaping backslashes.
Seen in 1 report
-
The storage service lets a request parameter override the response Content-Type at serve time after the upload-time type was set, and the app trusts the upload-time check as its only defence.
Seen in 1 report
-
The store address field was not sanitised before being rendered in the email template editor.
Seen in 1 report
-
The storefront password cookie was issued without the HttpOnly attribute.
Seen in 1 report
-
The Stream plugin logged the file query parameter from a redirect URL without proper HTML sanitisation before displaying it in the admin panel.
Seen in 1 report
-
The streaming code path did not call the same guard against mutating a script root element that the non-streaming fragment parser uses.
Seen in 1 report
-
The streaming path parsed into the live document with the active custom element registry, so callbacks ran before sanitisation, unlike setHTML which parses into an inert template.
Seen in 1 report
-
The student's name was stored without sanitising and later rendered unsafely in the delete confirmation or list.
Seen in 1 report
-
The stylesheet filename length was not validated before being written to the database.
Seen in 1 report
-
The subject from an uploaded .eml file was inserted into the email view without sanitising or encoding.
Seen in 1 report
-
The subject was output into an HTML attribute without attribute escaping.
Seen in 1 report
-
The submitted password was included in the response body instead of being omitted or masked.
Seen in 1 report
-
The successRedirect parameter was reflected without sanitisation or encoding.
Seen in 1 report
-
The suggested-edit preview rendered user-supplied HTML without proper sanitisation, and the edit-approval endpoint lacked CSRF protection beyond CORS.
Seen in 1 report
-
The survey name was stored and inserted into the page without output encoding, and the delete endpoint authorised by session and XSRF token only.
-
The SVG sanitiser did not account for an animation element changing a link attribute to a script URL after sanitisation.
Seen in 1 report
-
The SVG sanitiser did not correctly handle XML entities, so the whitelist was not applied to the resulting content.
-
The SVG script element's child-change handler omits the in-progress atomic move check that the HTML script handler has.
Seen in 1 report
-
The SVG serialiser did not escape special characters in attribute values and text nodes.
-
The SWF attempted to strip flashVars but did so incorrectly, leaving a way to inject script via ExternalInterface.
Seen in 1 report
-
The SWF loaded an attacker-controlled resource module via FlashVars without proper security checks.
Seen in 1 report
-
The SWF reflected user-controlled parameters into HTML content without sanitising them, and the click-handling race could be won by reloading the file repeatedly.
-
The system parameter was reflected into the HTML response without encoding.
Seen in 1 report
-
The tags parameter was used to build an XHR whose response was inserted into the page and executed as JavaScript.
Seen in 1 report
-
The target branch name was not escaped when rendered in the merge request interface.
Seen in 1 report
-
The task identifier parameter was reflected without validation or encoding.
Seen in 1 report
-
The team name input was not sanitised or escaped before being rendered in the context of inviting members.
Seen in 1 report
-
The telemetry location parameter was inserted into the page without encoding or validation.
-
The template engine escaped HTML characters but not backslashes, allowing a backslash to break out of a JavaScript string literal.
-
The template engine was not instructed to escape output for the JavaScript context, and GET parameters were not encoded before insertion into the script.
Seen in 1 report
-
The template escaped the review URL for the title attribute but not for the href attribute.
Seen in 1 report
-
The template name read from the file header was echoed into the page without HTML escaping.
Seen in 1 report
-
The template name was inserted via innerHTML without sanitisation and the CSP allowed a JSONP endpoint on a whitelisted domain.
Seen in 1 report
-
The text editor does not sanitise pasted HTML.
-
The text-to-visual conversion did not sanitise HTML before rendering.
Seen in 1 report
-
The theme does not sanitise input in the portfolio module description before storing and rendering.
Seen in 1 report
-
The theme failed to sanitise or escape user-supplied input on a publicly accessible page.
Seen in 1 report
-
The theme installer did not sanitise file contents inside the uploaded theme zip before displaying them.
Seen in 1 report
-
The theme preview page added message event data to the DOM without verifying the sender origin.
Seen in 1 report
-
The theme preview template inserted the theme_handle parameter without escaping single quotes.
Seen in 1 report
-
The ticket page rendered the display name without output encoding even though the profile page validated it.
Seen in 1 report
-
The ticket subject was inserted into HTML emails without encoding or sanitising.
Seen in 1 report
-
The TID query parameter was reflected into the page inside a script and body context without output encoding, and the WAF's signature rules did not cover a body background attribute.
Seen in 1 report
-
The time parameter was written into the page without encoding and the server listed directories without index pages.
Seen in 1 report