# CVE-2025-32421: Next.js Race Condition to Cache Poisoning

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-05-14T22:56:45.624Z
- Modified: 2026-06-17T09:11:58.080Z
- Also known as: GHSA-qpjv-v59x-3qc4
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vercel next.js: < 14.2.24; >= 15.0.0, < 15.1.6; before 14.2.24; from 15.0.0 before 15.1.6
- next (npm): from 0.9.9 before 14.2.24; from 15.0.0 before 15.1.6

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4> (vendor-advisory, web)
- <https://vercel.com/changelog/cve-2025-32421> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32421> (advisory)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2025-32421](https://www.cve.org/CVERecord?id=CVE-2025-32421), CVE Terms of Use, modified 2025-05-15
- GitHub Advisory Database: [GHSA-qpjv-v59x-3qc4](https://github.com/advisories/GHSA-qpjv-v59x-3qc4), CC-BY-4.0, modified 2025-09-26
- NVD: [CVE-2025-32421](https://nvd.nist.gov/vuln/detail/CVE-2025-32421), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32421 · Whole record: https://cve.day/CVE-2025-32421.json · Rebuilt by cve.day 2026-11-25T22:58:58.072Z
