CVE-2025-32421
lowpriority · track · 10EPSS 0.008 · 57 %ileexploit · PoCDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
affected products (10)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1061Vercel Next.js: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2025-05-14csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Vercel Next.js ausnutzen, um Informationen offenzulegen.
- GHSA-qpjv-v59x-3qc4Next.js Race Condition to Cache Poisoning2025-05-15ghsa · osvUS
**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](https://vercel.com/changelog/cve-2025-32421) **Credit** Thank you to **Allam Rachid (zhero)** for the responsible disclosure. This research was rewarded as part of our bug bounty program.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/vercel/next.js/releasesPatchcnnvd
- https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-32421cnnvd
- https://vercel.com/changelog/cve-2025-32421cnnvd
- https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4enisa_euvd
- https://vercel.com/changelog/cve-2025-32421enisa_euvd
- https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4Vendor Advisorynvd
- https://vercel.com/changelog/cve-2025-32421Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan