Home / DOM-Based XSS

DOM-Based XSS

DOM-based XSS occurs when an application contains client-side JavaScript that processes data from an untrusted source in an unsafe way, usually by writing the data to an execution sink.

DOMXSS-01
Location Source AeroRoute Travel Planner

The application reads the current location.href and dynamically writes breadcrumb navigation using innerHTML.

Beginner Unsolved
DOMXSS-02
Query Parameter DocsFlow Knowledge Base

The search script parses the URL query parameter `q` with URLSearchParams and injects it into innerHTML.

Easy Unsolved
DOMXSS-03
Hash Fragment Zenith Crypto Portfolio

The application parses window.location.hash for tab navigation and injects it into a tab title container.

Easy Unsolved
DOMXSS-04
JavaScript Transformation GlobalFx Currency Calc

User input is passed as a JSON or encoded string, unpacked by client JavaScript, and assigned to a DOM sink.

Intermediate Unsolved
DOMXSS-05
Source-to-Sink Analysis TaskPilot Agile Board

Data flows through a multi-function processing pipeline (extraction → normalization → templating → render).

Intermediate Unsolved
DOMXSS-06
Client-Side Filtering SanitizePro Markdown & Preview

A client-side regex filter attempts to sanitize input before passing it to innerHTML, but contains critical flaws.

Advanced Unsolved
DOMXSS-07
Advanced DOM XSS HyperApp Cloud Orchestrator

A complex SPA with state store and dynamic plugin registry executes dynamic hooks from URL configuration.

Expert Unsolved