Official Top 10 selection
Exploiting Web3’s Hidden Attack Surface: Universal XSS on Netlify’s Next.js Library
Exploiting Web3's Hidden Attack Surface: Universal XSS on Netlify's Next.js Library
Netlify's ipx image-optimisation route builds its upstream fetch URL from the attacker-controlled X-Forwarded-Proto header, so a full URL ending in a question mark replaces the target entirely. Because the response is then cached under the requested path, this becomes stored cross-site scripting and full-response server-side request forgery on any Netlify Next.js site.
Preserved copies · Sam Curry and @samwcyo · Original publication ↗
Record
- Document
- Exploiting Web3's Hidden Attack Surface: Universal XSS on Netlify's Next.js Library
- Researcher
- Sam Curry and @samwcyo
- Published by
- samcurry.net
- Date
- Topic
- XSS
In the archive
- Ranked #10 in the 2022 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
- @netlify/ipx vulnerable to Full Response SSRF and Stored XSS via Cache Poisoning and Improper Host Validation Advisory
Author not stated · GitHub Advisory Database
Preserved copies of this source
Tags
This page is the archive's own catalogue record. The research is the work of Sam Curry and @samwcyo, first published at the original source. Preserved copies are kept so the citation survives its host.