Skip to content

In-depth lesson · CSP bypass

Year by year: 2023

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 9 of 9 (of 69 in all)

Clear the search

2023

9 points

New this year3

  1. 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
  2. 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
  3. Markup stored through a GraphQL mutation was checked for execution when rendered, chaining to account takeover.

    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 4 reports
  2. Crafted emails sent to a webmail client were tested for a parsing issue letting script escape the message sandbox.

    Seen in 3 reports
  3. Electron desktop apps were tested for whether they enforced their policy and whether a bypass led to code execution.

    Seen in 2 reports
  4. 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
  5. DOM clobbering was used to override a variable the policy relied on and bypass it.

    Seen in 1 report
  6. 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