Skip to content

In-depth lesson · DOM-based XSS

Year by year: 2021

What the disclosed DOM-based XSS 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 82 in all)

Clear the search

2021

8 points

New this year3

  1. DOM clobbering to crash pages and potentially exploit was a new technique, as shown in the disclosed reports.

    Seen in 1 report
  2. Using mermaid diagrams with iframe srcdoc for DOM-based XSS was novel, as shown in the disclosed reports.

    Seen in 1 report
  3. Clipboard-based DOM-based XSS via pasting into markdown fields emerged, as shown in the disclosed reports.

    Seen in 1 report

Kept working4

  1. They manipulated localStorage emoji maps and clipboard data to achieve DOM-based XSS, as shown in the disclosed reports.

    Seen in 2 reports
  2. They exploited mermaid diagrams with HTML in theme values and iframes with srcdoc, as shown in the disclosed reports.

    Seen in 2 reports
  3. They used DOM clobbering by replacing URLs with elements whose name attributes match document functions, as shown in the disclosed reports.

    Seen in 1 report
  4. They used prototype pollution in URL fragments parsed by deparam functions to reach eval gadgets, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Basic postMessage exploitation without origin-check bypasses, common in 2019 and 2020, was less frequent, as shown in the earlier reports.

    Seen in 2 reports