Skip to content

In-depth lesson · CSP bypass

Year by year: 2021

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

2021

9 points

New this year3

  1. A sanitiser that allowed only a strong tag but still permitted data attributes was turned by a UI framework into an interactive popover loading an external script.

    Seen in 1 report
  2. A scanner profile name set to a strong element with data attributes creating a popover was clicked on the audit events page to trigger it.

    Seen in 1 report
  3. The emoji map stored in local storage was modified so that typing a colon in a description field inserted the value unsanitised.

    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. An Electron desktop app was tested for whether it enforced its policy and whether a bypass led to code execution.

    Seen in 1 report
  3. 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
  4. An issue title containing a template variable and markup was used to test whether autocomplete rendered it when the reference trigger was typed.

    Seen in 1 report
  5. A design filename containing a double quote was referenced in Markdown to check whether the attribute broke out.

    Seen in 1 report
  6. The flowchart HTML labels directive was set to the string false and an iframe with a document body included in a diagram to see whether sanitisation was skipped.

    Seen in 1 report