In-depth lesson · CSP bypass
Year by year: 2020
What the disclosed CSP bypass reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2020
9 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 working6
Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.
Seen in 5 reports
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