Official nomination
Evading CSP with DOM-based dangling markup
Dangling markup normally dies under a strict CSP because no external resource may load. Injecting an unterminated base target attribute, or a form target, instead captures the following page markup into window.name, so a single victim click hands CSRF tokens and other secrets to an attacker page even under default-src 'none'.
Preserved copies · Gareth Heyes · Original publication ↗
Record
- Researcher
- Gareth Heyes
- Published by
- PortSwigger Research
- Date
- Topic
- XSS
In the archive
- Nominated for the 2018 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Related sources
- DOM-based dangling markup proof of concept 1
Author not stated
External source · no preserved copy
- DOM-based dangling markup proof of concept 2
Author not stated
External source · no preserved copy
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.