Cross-Site Scripting
DOM-Based XSS
The server never sees this one. DOM XSS lives entirely in client-side JavaScript — the hardest type to detect and the easiest to miss in code review.
Intermediate45 min10 lessons1 hands-on
Free account. No credit card.
You'll be able to
- ✓Understand the difference between server-side and DOM-based XSS
- ✓Identify dangerous DOM sinks: innerHTML, document.write, eval
- ✓Trace tainted data from sources (location.hash, postMessage) to sinks
- ✓Exploit DOM XSS without any server-side reflection
