{"id":"CVE-2025-32421","aliases":["GHSA-qpjv-v59x-3qc4"],"url":"https://o3.security/vulnerability/CVE-2025-32421","summary":"Next.js Race Condition to Cache Poisoning","details":"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.","published":"2025-05-14T22:56:45.624Z","modified":"2026-07-15T01:48:54.343500304Z","cvss":{"score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"next","fixedVersion":"14.2.24"},{"ecosystem":"npm","name":"next","fixedVersion":"15.1.6"}],"fix":null,"references":[{"type":"WEB","url":"https://vercel.com/changelog/cve-2025-32421"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32421.json"},{"type":"ADVISORY","url":"https://github.com/vercel/next.js/security/advisories/GHSA-qpjv-v59x-3qc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32421"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:54.343500304Z"}}