Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-32421

next.js: Next.js Race Condition to Cache Poisoning

Overview

Published
14 May 2025
Modified
17 Jun 2026
Low CVE
1 Registry packages
16 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

3.7 · LOW

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Weakness: CWE-362

Affected packages · 1

Packages affected by CVE-2025-32421
EcosystemPackageVulnerableFixed in
npm next >=0.9.9, <14.2.24>=15.0.0, <15.1.6 14.2.2415.1.6

Open a package to see all its vulnerabilities.

Operating systems · 4 fixes

Red Hat 3 releases · 2 packages

affected 3
firefox aspnetcore-runtime-7-0
Red Hat fixes for CVE-2025-32421
ReleasePackageFixed in
7 firefox affected
8 firefox +1 affected
9 aspnetcore-runtime-7-0 +14 affected

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2025-32421
ReleasePackageFixed in
trigger-dev 4.5.0-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.