← Vulnerability feed

Vulnerability record · CVE-2024-46982 · published 17 September 2024

CVE-2024-46982: Next.js pages router cache poisoning via crafted HTTP request

Vercel · Next.Js

Next.js versions 13.5.1 through 14.2.9 can be coerced into caching non-dynamic server-side rendered pages router routes when a crafted HTTP request is sent. The poisoned response carries a Cache-Control: s-maxage=1, stale-while-revalidate header that upstream CDNs may also cache, so the wrong content can be served to other users. It does not affect the app router, and only pages router non-dynamic SSR routes are exposed.

7.5 CVSS 3.1 High EPSS 59% · top 0.9% CWE-639 · Insecure direct object reference
7.5CVSS 3.1 base score
59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

Next.js is a React framework for building full-stack web applications. By sending a crafted HTTP request, it is possible to poison the cache of a non-dynamic server-side rendered route in the pages router (this does not affect the app router). When this crafted request is sent it could coerce Next.js to cache a route that is meant to not be cached and send a `Cache-Control: s-maxage=1, stale-while-revalidate` header which some upstream CDNs may cache as well. To be potentially affected all of the following must apply: 1. Next.js between 13.5.1 and 14.2.9, 2. Using pages router, & 3. Using non-dynamic server-side rendered routes e.g. `pages/dashboard.tsx` not `pages/blog/[slug].tsx`. This vulnerability was resolved in Next.js v13.5.7, v14.2.10, and later. We recommend upgrading regardless of whether you can reproduce the issue or not. There are no official or recommended workarounds for this issue, we recommend that users patch to a safe version.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityCVSS 7.5 with network, no-auth, no-interaction reach and a 99th-percentile EPSS score make this a high-priority patch despite no KEV listing.

What it is

Next.js versions 13.5.1 through 14.2.9 can be coerced into caching non-dynamic server-side rendered pages router routes when a crafted HTTP request is sent. The poisoned response carries a Cache-Control: s-maxage=1, stale-while-revalidate header that upstream CDNs may also cache, so the wrong content can be served to other users. It does not affect the app router, and only pages router non-dynamic SSR routes are exposed.

Impact

An unauthenticated attacker can poison the cache so that other visitors receive attacker-influenced cached responses for affected routes, degrading integrity of served content and availability of the intended page. The CVSS vector scores availability impact only (C:N/I:N/A:H), so the record does not establish confidentiality or integrity loss.

Attack surface

Reachable over the network by sending a crafted HTTP request to a non-dynamic server-side rendered pages router route; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The app router is not affected.

Exploitation

Not listed in CISA KEV and no public exploit reference is included, but EPSS is high at 0.5918 (99th percentile), indicating elevated likelihood of exploitation activity. References are limited to patch commits and a vendor advisory.

What to do

  • Upgrade Next.js to 13.5.7, 14.2.10, or a later release; patching is the only recommended fix.
  • If immediate upgrade is not possible, review CDN and reverse-proxy caching rules so responses with s-maxage=1, stale-while-revalidate are not cached for affected routes.
  • Audit pages router non-dynamic SSR routes and confirm which are exposed to untrusted traffic.
  • Monitor vendor advisory GHSA-gp8f-8m3g-qvj9 and patch commits for any updated guidance, since no official workaround exists.

Detection

  • Inspect CDN and origin logs for requests that trigger Cache-Control: s-maxage=1, stale-while-revalidate on pages router SSR routes.
  • Alert on unexpected cache HITs or cache fills for routes that should not be cached.
  • Compare cached response bodies against origin responses for non-dynamic SSR pages to spot poisoned entries.
  • Track Next.js version inventory to identify hosts still running 13.5.1 through 14.2.9.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-46982 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-55182React Server Components pre-auth deserialization RCEReact Server Components versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 (react-server-dom-parcel, react-server-dom-turbopack, react-server-dom-webpack) u…KEVEPSS 100%analysed9.1CVE-2025-29927Next.js middleware authorization bypass via x-middleware-subrequest headerNext.js versions from 1.11.4 up to (but not including) 12.3.5, 13.5.9, 14.2.25, and 15.2.3 allow authorization checks performed in middleware to be b…EPSS 99%analysed8.6CVE-2026-44578Vercel next.js server-side request forgery (ssrf) vulnerabilityNext.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5, self-hosted applications using the …EPSS 1.9%8.3CVE-2026-64649Vercel next.js server-side request forgery (ssrf) vulnerabilityNext.js is a React framework for building full-stack web applications. In versions 14.1.1 through 15.5.20 and 16.0.0 through 16.2.10, when a Server A…EPSS 0.46%8.3CVE-2026-64642Vercel next.js improper authorization vulnerabilityNext.js is a React framework for building full-stack web applications. In versions 16.0.0 through 16.2.10, crafted requests targeting Next.js applica…EPSS 0.64%8.3CVE-2026-64645Vercel next.js open redirect vulnerabilityNext.js is a React framework for building full-stack web applications. In versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10, a rewrites() or…EPSS 0.41%8.2CVE-2026-64641Vercel next.js vulnerabilityNext.js is a React framework for building full-stack web applications. In versions 13.0.0 through 15.5.20 and 16.0.0 through 16.2.10, crafted request…EPSS 0.86%8.2CVE-2025-57822Vercel next.js server-side request forgery (ssrf) vulnerabilityNext.js is a React framework for building full-stack web applications. Prior to versions 14.2.32 and 15.4.7, when next() was used without explicitly …EPSS 2.5%

Source: NIST National Vulnerability Database (record CVE-2024-46982), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.