LowGHSA-qpjv-v59x-3qc4CVE-2025-32421

Next.js Race Condition to Cache Poisoning

Published 15 May 2025 · Updated 26 Sept 2025

Affected packages

nextnpm
Affected
>=0.9.9 <14.2.24
Fixed in
14.2.24
Update to the fixed version for your release line, for example:npm install next@14.2.24
nextnpm
Affected
>=15.0.0 <15.1.6
Fixed in
15.1.6
Update to the fixed version for your release line, for example:npm install next@15.1.6

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.

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.

Is GHSA-qpjv-v59x-3qc4 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.