Official nomination
Double eval() for DOM based XSS
Where a DOM sink is eval('getProduct('+koko+')'), a payload that needs its own quotes breaks the surrounding string and only raises a syntax error. Wrapping it in a second eval over String.fromCharCode passes digits alone through the outer string, and the inner eval rebuilds and runs the quoted payload. It turns an apparently unexploitable DOM XSS into a working proof.
Preserved copies · shreeraj · Original publication ↗
Record
- Researcher
- shreeraj
- Published by
- shreeraj.blogspot.com
- Topic
- XSS
In the archive
- Nominated for the 2011 Top 10 Web Hacking Techniques · Open this archive record
2011Results (Wayback) (unverified) ↗Nominations (Wayback) (unverified) ↗
Announcement provenance and preserved copies
WhiteHat Security · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Historical original URL ↗ · Preserved results (PDF)
Official nomination material · Historical original URL ↗
Tags
This page is the archive's own catalogue record. The research is the work of shreeraj, first published at the original source. Preserved copies are kept so the citation survives its host.