Security mailing lists by PureSourceCode

CVE-2025-32421

LOW 3.7CVSS 3.1

Next.js Race Condition to Cache Poisoning

Next.js is a React framework for building full-stack web applications. Versions prior to 14.2.24 and 15.1.6 have a race-condition vulnerability. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve pageProps data instead of standard HTML. This issue was patched in versions 15.1.6 and 14.2.24 by stripping the x-now-route-matches header from incoming requests. Applications hosted on Vercel's platform are not affected by this issue, as the platform does not cache responses based solely on 200 OK status without explicit cache-control headers. Those who self-host Next.js deployments and are unable to upgrade immediately can mitigate this vulnerability by stripping the x-now-route-matches header from all incoming requests at the content development network and setting cache-control: no-store for all responses under risk. The maintainers of Next.js strongly recommend only caching responses with explicit cache-control headers.

Published
14 May 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-362
Also known as
GHSA-qpjv-v59x-3qc4
Sources
NVDJSONOSV GHSA-qpjv-v59x-3qc4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vercel next.js
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
< 14.2.24 14.2.24
NVD vercel next.js
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
>= 15.0.0, < 15.1.6 15.1.6
OSV npm next >= 0.9.9, < 14.2.24 14.2.24
OSV npm next >= 15.0.0, < 15.1.6 15.1.6

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 14 May 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.