Skip to content

In-depth lesson · CSP bypass

Year by year: 2022

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

Clear the search

2022

10 points

New this year4

  1. A base tag injected into a note or issue description and pointed at an attacker server was used to see whether the page loaded scripts from there.

    Seen in 1 report
  2. A crafted notebook file opened in a desktop editor used a postMessage reply plus a path traversal in the internal file protocol to load attacker HTML.

    Seen in 1 report
  3. A dangling iframe whose target domain could be taken over was used to bypass the policy.

    Seen in 1 report
  4. A tag crafted to differ between the sanitiser's parser and the browser's was previewed in an email template to see whether it survived.

    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. Browser-specific policy bypasses were tested against a current browser build and the version was reported.

    Seen in 1 report
  3. 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
  4. An iframe with a document body placed in a class diagram label was viewed in the rendered issue to see whether special characters were escaped.

    Seen in 1 report
  5. Markup injected into the cardinality or multiplicity part of a class diagram was viewed by an admin to test privilege escalation.

    Seen in 1 report
  6. An unmatched closing curly brace in the theme CSS directive was used to check whether selectors after it escaped the diagram scope.

    Seen in 1 report