Skip to main content

CVE-2025-32421 — Vulnerability in next — CVE Details

LOW

Next.js Race Condition to Cache Poisoning

Published May 15, 2025Updated September 26, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.40%). Schedule for your next planned update.

Does your project use an affected next version?

Paste your package-lock.json to check it for CVE-2025-32421 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

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.

Advisory Timeline

  • First published May 15, 2025 (560 days ago).
  • Last revised September 26, 2025 — 134 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update next to 15.1.6 or later
npm install next@15.1.6
npm
Update next to 14.2.24 or later
npm install next@14.2.24

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: npm (1).

PackageFixed In
next npm · Affected: All versions15.1.6
next npm · Affected: All versions14.2.24

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 3.7 score means for each attack dimension.

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

Frequently Asked Questions

What is CVE-2025-32421?
Next.js Race Condition to Cache Poisoning. This vulnerability has been assigned a severity rating of LOW (CVSS score: 3.7/10).
How do I check if my project is affected by CVE-2025-32421?
CVE-2025-32421 affects next. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-32421 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
3.7

Exploitation is difficult, or the impact is minor.

EPSS Score (30-day exploit probability)
0.40%
EPSS percentile: 25.4

This is a below-median EPSS score — only 25.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-qpjv-v59x-3qc4

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json