Collected research
Bypassing CSP with dangling iframes
A dangling iframe name captures following HTML, including secrets. An attacker-controlled outer frame navigates the victim iframe to about:blank, gains access, and reads the preserved window.name. This extracts data without executing JavaScript in the victim document despite restrictive CSP.
Record
- Researcher
- Gareth Heyes
- Published by
- PortSwigger
- Date
- Topic
- XSS
In the archive
Related sources
Tags
This page is the archive's own catalogue record. The research is the work of Gareth Heyes, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .