Skip to content

In-depth lesson · DOM-based XSS

Year by year: 2019

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

Clear the search

2019

9 points

New this year3

  1. postMessage origin-check flaws became a prominent route to DOM-based XSS, as shown in the disclosed reports.

    Seen in 3 reports
  2. Using mermaid diagrams with javascript: URLs to trigger DOM-based XSS was a new technique, as shown in the disclosed reports.

    Seen in 1 report
  3. Bypassing CSP by retesting in Internet Explorer or Edge emerged as a tactic, as shown in the disclosed reports.

    Seen in 1 report

Kept working5

  1. Hunters tested Shopify's remote redirect method and direct message deeplinks for DOM-based XSS, as shown in the disclosed reports.

    Seen in 3 reports
  2. They sent crafted postMessage to SDKs and login page listeners to trigger DOM-based XSS, as shown in the disclosed reports.

    Seen in 2 reports
  3. They bypassed origin checks using substring matching and domain prefix tricks, as shown in the disclosed reports.

    Seen in 2 reports
  4. They retested CSP-blocked DOM-based XSS in Internet Explorer or Edge where CSP may not apply, as shown in the disclosed reports.

    Seen in 1 report
  5. They found DOM-based XSS in mermaid diagrams via javascript: URLs in click handlers, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Angular template injection, common in 2016 and 2017, was rarely reported, as shown in the earlier reports.

    Seen in 2 reports