GitHub Advisory Database
GHSA-qpjv-v59x-3qc4
Next.js Race Condition to Cache Poisoning
Details
Summary We received a responsible disclosure from Allam Rachid (zhero) for a low-severity race-condition vulnerability in Next.js. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve pageProps data instead of standard HTML.
Credit Thank you to Allam Rachid (zhero) for the responsible disclosure. This research was rewarded as part of our bug bounty program.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | next | From 0.9.9 before 14.2.24 (fixed in 14.2.24) |
| npm | next | From 15.0.0 before 15.1.6 (fixed in 15.1.6) |