In-depth lesson · CSP bypass
Year by year
What the disclosed CSP bypass reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2025
10 pointsNew this year4
The dependency proxy was pointed at an attacker server so it cached a response with an attacker policy header, then tested in Firefox.
Seen in 1 report
An SVG containing a form was hosted on the asset proxy to check whether the proxied content's policy blocked form submissions.
An HTML file uploaded as a model artifact was served inline through the proxy endpoint with a redirect header.
Seen in 1 report
A request to the proxy endpoint with no content type header stored a link with a type hint in a project description and was clicked in Firefox.
Seen in 1 report
Kept working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 6 reports
The markdown placeholders feature was enabled with a scoped label and a tag whose name contained markup, and the rendered output was viewed.
Seen in 1 report
A public project with an AsciiDoc README setting a data attribute to a raw snippet URL was viewed on the user's profile contributions calendar.
Seen in 1 report
A crafted notebook file opened in the web IDE used a service worker path traversal plus a same-origin HTML file to leak the CSRF token.
Seen in 1 report
The code navigation index response was overwritten with a crafted payload and a blob page showing a Python file was refreshed.
Seen in 1 report
A wiki page whose path was crafted markup was referenced from a commit message and the commit page opened.
Seen in 1 report
2024
8 pointsNew this year2
DOM clobbering, postMessage and service worker tricks were increasingly chained with the policy bypass.
With HTML injection already available, an allowed third-party script bundling AngularJS was used to read the page nonce and load a script.
Seen in 1 report
Kept working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 6 reports
DOM clobbering was used to override a variable the policy relied on and bypass it.
Seen in 1 report
An issue title containing markup was used to trigger autocomplete in the rich text editor and check whether the query was escaped in the highlight.
Seen in 1 report
A comment containing markup that referenced a raw snippet path in a commit diff was refreshed to see whether it rendered.
Seen in 1 report
A wiki sidebar page using a reference filter trick plus mutation XSS was reloaded to see whether script ran.
Seen in 1 report
Markup in the pronunciation field of a profile was viewed on the profile page to see whether it was sanitised.
Seen in 1 report
2023
9 pointsNew this year3
Desktop mail clients and Electron apps where a parsing flaw led to sandbox and policy bypass and then code execution became a recurring theme.
Seen in 4 reports
A hidden AngularJS gadget in an analytics product was found and used to bypass the policy, including by loading an old AngularJS build from an allowed CDN.
Seen in 1 report
Markup stored through a GraphQL mutation was checked for execution when rendered, chaining to account takeover.
Seen in 1 report
Kept working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 4 reports
Crafted emails sent to a webmail client were tested for a parsing issue letting script escape the message sandbox.
Seen in 3 reports
Electron desktop apps were tested for whether they enforced their policy and whether a bypass led to code execution.
A project imported from a dummy server returning a label with a crafted colour value was viewed on the labels page.
Seen in 2 reports
DOM clobbering was used to override a variable the policy relied on and bypass it.
Seen in 1 report
The lang attribute of a pre block was set to crafted markup alongside a valid diagram language and viewed in the rendered comment.
Seen in 1 report
-
$13,950 High
-
2022
10 pointsNew this year4
A base tag injected into a note or issue description and pointed at an attacker server was used to see whether the page loaded scripts from there.
Seen in 1 report
A crafted notebook file opened in a desktop editor used a postMessage reply plus a path traversal in the internal file protocol to load attacker HTML.
Seen in 1 report
A dangling iframe whose target domain could be taken over was used to bypass the policy.
Seen in 1 report
A tag crafted to differ between the sanitiser's parser and the browser's was previewed in an email template to see whether it survived.
Seen in 1 report
-
$1,250 High
-
Kept working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 6 reports
Browser-specific policy bypasses were tested against a current browser build and the version was reported.
Seen in 1 report
An OpenAPI file with crafted attributes was uploaded and the rendered document clicked to see whether the viewer let markup survive sanitisation.
Seen in 1 report
-
$2,000 Medium
-
An iframe with a document body placed in a class diagram label was viewed in the rendered issue to see whether special characters were escaped.
Seen in 1 report
Markup injected into the cardinality or multiplicity part of a class diagram was viewed by an admin to test privilege escalation.
An unmatched closing curly brace in the theme CSS directive was used to check whether selectors after it escaped the diagram scope.
2021
9 pointsNew this year3
A sanitiser that allowed only a strong tag but still permitted data attributes was turned by a UI framework into an interactive popover loading an external script.
Seen in 1 report
A scanner profile name set to a strong element with data attributes creating a popover was clicked on the audit events page to trigger it.
Seen in 1 report
The emoji map stored in local storage was modified so that typing a colon in a description field inserted the value unsanitised.
Seen in 1 report
Kept working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 6 reports
An Electron desktop app was tested for whether it enforced its policy and whether a bypass led to code execution.
Seen in 1 report
An iframe with a document body placed in a class diagram label was viewed in the rendered issue to see whether special characters were escaped.
Seen in 1 report
An issue title containing a template variable and markup was used to test whether autocomplete rendered it when the reference trigger was typed.
Seen in 1 report
A design filename containing a double quote was referenced in Markdown to check whether the attribute broke out.
Seen in 1 report
-
$16,000 Critical
-
The flowchart HTML labels directive was set to the string false and an iframe with a document body included in a diagram to see whether sanitisation was skipped.
Seen in 1 report
2020
4 pointsNew this year3
A large share of reports came from one code hosting platform where Markdown, diagram and reference rendering repeatedly produced stored XSS with a policy bypass.
Seen in 5 reports
Prototype pollution through URL query parameters consumed by an embedded third-party script was used to inject markup, alongside loading an old AngularJS build from an allowed CDN for expression evaluation.
Seen in 1 report
A stored message or profile field in a desktop messaging client was tested for reading the file system or running script.
Seen in 1 report
Kept working1
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 5 reports