Official Top 10 selection
Portable Data exFiltration: XSS for PDFs
PDF libraries such as PDF-Lib and jsPDF do not escape parentheses in annotation URIs, so text placed into a generated PDF can close the string and inject new dictionary keys, actions and JavaScript. That gives script execution in Acrobat and Chrome's PDFium, automatic firing on open or close, theft of the document text, and blind SSRF from server-side rendering.
Preserved copies · Gareth Heyes · Original publication ↗
Record
- Researcher
- Gareth Heyes
- Published by
- PortSwigger Research
- Date
- Topic
- XSS
In the archive
- Ranked #2 in the 2020 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
- All research PDF samples
Author not stated
External source · no preserved copy
- Portable Data exFiltration: XSS for PDFs
Author not stated
External source · no preserved copy
- Portable Data exFiltration XSS for PDFs - Gareth Heyes
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.