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.
2020
5 pointsKept working5
A crafted page opened in the browser's reader mode was checked for script running there and bypassing the policy.
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
-
Medium
-
A link from a public comment to a private project using HTML-encoded tags was checked to see whether the redaction step re-activated the encoded markup.
Seen in 1 report
A branch name containing markup was used to test escaping in the duplicate dashboard modal on the metrics page.
Seen in 1 report
A response with a misleading content type was served to check whether the browser sniffed it as HTML, bypassing the policy.
Seen in 1 report
2019
7 pointsNew this year2
Browser and desktop client policy bypasses appeared as their own class, distinct from the earlier pairing with reflected or stored XSS on marketing or admin pages.
Seen in 2 reports
-
$1,000 Medium -
$1,000 Low
-
JavaScript URLs were used to run script despite the policy, including as a follow-up URL where inline script would be blocked.
Seen in 2 reports
Kept working5
Browser-specific policy bypasses were tested against a current browser build and the version was reported.
Seen in 2 reports
-
$1,000 Medium -
$3,000 Medium
-
Blob URLs were used to load script that the policy would otherwise block.
Seen in 2 reports
-
$1,000 Medium -
$1,000 Medium
-
Places where an attacker could inject or influence the policy itself, such as through a cached response header, were used to relax the rules.
Seen in 1 report
Crafted window messages sent to a third-party marketing form were watched to see whether a follow-up URL from the message data was used for navigation.
Seen in 1 report
A DevOps portal was probed for reflected input and then tested for a policy bypass to execute it.
Seen in 1 report
2018
6 pointsNew this year1
Browser and desktop client policy bypasses began to appear as their own class rather than always being paired with a reflected or stored XSS on marketing or admin pages.
Seen in 2 reports
Kept working5
Merchant or user-supplied free-text fields submitted through the API were checked on the admin review page for markup rendering.
Seen in 1 report
-
$350 Medium
-
Installed browser extensions were tested as a way to load or run script on a page whose policy would otherwise block it.
Seen in 1 report
-
$1,000 Medium
-
The browser's built-in XSS filter behaviour was used to neutralise or reshape a page so the policy no longer blocked injected script.
Seen in 1 report
A chat websocket host's query parameter reflected into the HTML response was fuzzed to slip past the CDN filter.
Seen in 1 report
A small policy bypass was chained with an OAuth flow to reach and steal a third-party session token.
Seen in 1 report
2017
1 pointKept working1
Hunters showed that an allowed analytics script could be repurposed to send data out of the page, turning it into an exfiltration channel under the policy.
Seen in 1 report