In-depth lesson · CSP bypass
Year by year: 2024
What the disclosed CSP bypass reports of each year show, newest first: what first appeared, what kept working and what turned up less.
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