Vulnerability in Vercel Next.js
CVE-2025-32421
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 57.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vercel Next.js — versions < 14.2.24, >= 15.0.0, < 15.1.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- Delfaster/CVE-2025-32421---Race-Condition-Vulnerability---Next.js (2 stars, last pushed 2025-11-26): PoC Lab for CVE-2025-32421 – Next.js Race Condition Cache Poisoning Simulation
- hidesec/CVE-2025-32421 (1 star, last pushed 2025-10-11): Comprehensive demonstration of CVE-2025-32421 Eclipse technique - a sophisticated race condition attack against Next.js 15.0.4 that bypasses the original CVE-2024-46982 patch.
- zeroc00I/CVE-2025-32421
Also mentioned in 1 other repository (nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4 (Vendor Advisory)
- https://vercel.com/changelog/cve-2025-32421 (Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.