Skip to content

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.

Back to the lesson 1 to 8 of 8 (of 69 in all)

Clear the search

2024

8 points

New this year2

  1. DOM clobbering, postMessage and service worker tricks were increasingly chained with the policy bypass.

    Seen in 2 reports
  2. 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

  1. Markdown, diagram and reference rendering on a code hosting platform repeatedly produced stored XSS with a policy bypass.

    Seen in 6 reports
  2. DOM clobbering was used to override a variable the policy relied on and bypass it.

    Seen in 1 report
  3. 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
  4. 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
  5. A wiki sidebar page using a reference filter trick plus mutation XSS was reloaded to see whether script ran.

    Seen in 1 report
  6. Markup in the pronunciation field of a profile was viewed on the profile page to see whether it was sanitised.

    Seen in 1 report