Next.js Race Condition to Cache Poisoning
Description
Published by the National Vulnerability Database
May 14, 2025
Published to the GitHub Advisory Database
May 15, 2025
Reviewed
May 15, 2025
Last updated
May 15, 2025
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.Learn more here
Credit
Thank you to Allam Rachid (zhero) for the responsible disclosure. This research was rewarded as part of our bug bounty program.
References