Skip to content

In-depth lesson · DOM-based XSS

Year by year

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 50 of 82

2026

7 points

New this year3

  1. Using AngularJS $location.absUrl() propagation as a DOM XSS primitive was a new technique, as shown in the disclosed reports.

    Seen in 1 report
  2. Testing a VOTable viewer for reflected DOM-based XSS with data exfiltration via same-origin XHR was novel, as shown in the disclosed reports.

    Seen in 1 report
  3. Testing a publicly exposed shared-code feature in a 3D globe sandbox for DOM-based XSS was new, as shown in the disclosed reports.

    Seen in 1 report

Kept working3

  1. Hunters checked whether user-controlled URLs propagated into AngularJS root scope via $location.absUrl() could be used as a DOM XSS primitive, as shown in the disclosed reports.

    Seen in 1 report
  2. They tested a VOTable viewer for reflected DOM-based XSS that could exfiltrate data through same-origin XHR, as shown in the disclosed reports.

    Seen in 1 report
  3. They tested a WordPress playground path under wp-includes for DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. postMessage listener exploitation, common in 2024, was not reported, as shown in the earlier reports.

    Seen in 2 reports

2025

6 points

New this year1

  1. Turning browser console input into DOM-based XSS was a new technique, as shown in the disclosed reports.

    Seen in 1 report

Kept working4

  1. Hunters found DOM-based XSS on NASA web properties, as shown in the disclosed reports.

    Seen in 2 reports
  2. They tested birthdate confirmation and thanks pages for DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report
  3. They tested redirect parameters for JavaScript injection leading to DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report
  4. They checked whether input reaching the browser console could be turned into DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. postMessage listener exploitation, common in 2024, was not reported, as shown in the earlier reports.

    Seen in 2 reports

2024

5 points

New this year1

  1. A chatbot feature was identified as a place for unusual DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report

Kept working3

  1. They sent crafted messages to listeners on multiple domains and search engine pages to trigger DOM-based XSS, as shown in the disclosed reports.

    Seen in 2 reports
  2. Hunters pointed outdated Swagger UI configUrl parameters at external JSON files to run script, as shown in the disclosed reports.

    Seen in 1 report
  3. They tested redirect_url parameters on login pages for DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Open redirect to DOM-based XSS chains, seen in 2023, were not reported, as shown in the earlier reports.

    Seen in 1 report

2023

8 points

New this year2

  1. Exploiting rails-ujs contenteditable handling (CVE-2023-23913) was a new specific technique, as shown in the disclosed reports.

    Seen in 1 report
  2. Uploading files with XSS payloads in filenames to achieve stored DOM-based XSS was observed, as shown in the disclosed reports.

    Seen in 1 report

Kept working5

  1. Hunters tested mock payment subdomains and seller endpoints for DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report
  2. They sent crafted messages to third-party widget listeners to trigger DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report
  3. They turned open redirects into DOM-based XSS, as shown in the disclosed reports.

    Seen in 1 report
  4. They exploited contenteditable elements handled by rails-ujs (CVE-2023-23913), as shown in the disclosed reports.

    Seen in 1 report
  5. They escalated self-XSS to stored XSS and combined postMessage, JSONP, WAF bypass, DOM-based XSS, CORS and CSRF in a bug chain, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Swagger UI configuration parameter exploitation, seen in 2022, was not reported, as shown in the earlier reports.

    Seen in 1 report

2022

7 points

New this year2

  1. Swagger UI configuration parameters were identified as a route to DOM-based XSS and account takeover, as shown in the disclosed reports.

    Seen in 2 reports
  2. Using QR code flows to demonstrate DOM-based XSS proof of concept was new, as shown in the disclosed reports.

    Seen in 1 report

Kept working4

  1. They found DOM-based XSS in ad content and on sites like ads.tiktok.com, as shown in the disclosed reports.

    Seen in 2 reports
  2. Hunters tested outdated Swagger UI instances for DOM-based XSS through configuration parameters, as shown in the disclosed reports.

    Seen in 1 report
  3. They bypassed WAFs to deliver DOM-based XSS on government domains, as shown in the disclosed reports.

    Seen in 1 report
  4. They retested patched DOM-based XSS to find bypasses, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Prototype pollution gadgets, prominent in 2020 and 2021, were less reported, as shown in the earlier reports.

    Seen in 2 reports

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

2020

8 points

New this year2

  1. Prototype pollution combined with DOM gadgets became a notable technique, as shown in the disclosed reports.

    Seen in 1 report
  2. Using AngularJS ng-on-error for CSP bypass was a new method, as shown in the disclosed reports.

    Seen in 1 report

Kept working5

  1. Hunters tested game portal features and returnUrl parameters for DOM-based XSS, as shown in the disclosed reports.

    Seen in 5 reports
  2. They found DOM-based XSS in search features and corporate sites across browsers, as shown in the disclosed reports.

    Seen in 2 reports
  3. They exploited prototype pollution through query parameters to trigger DOM-based XSS gadgets, as shown in the disclosed reports.

    Seen in 1 report
  4. They used AngularJS from an allowed CDN with ng-on-error to bypass CSP, as shown in the disclosed reports.

    Seen in 1 report
  5. They identified known DOM-based XSS in the Froala editor, as shown in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. Simple fragment parameter injection without chaining, common in earlier years, was less prominent, as shown in the earlier reports.

    Seen in 2 reports

2019

1 point

New this year1

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

    Seen in 3 reports