{"cve":"CVE-2024-46982","nvd":{"published":"2024-09-17T22:15:02.273","modified":"2026-06-17T07:56:18.697","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-639"],"references":["https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3","https://github.com/vercel/next.js/commit/bd164d53af259c05f1ab434004bcfdd3837d7cda","https://github.com/vercel/next.js/security/advisories/GHSA-gp8f-8m3g-qvj9"],"products":["vercel:next.js"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-46982","score":0.5918,"percentile":0.99115,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gp8f-8m3g-qvj9","url":"https://osv.dev/vulnerability/GHSA-gp8f-8m3g-qvj9","summary":"Next.js Cache Poisoning","modified":"2026-09-10T03:50:18.787070679Z","packages":[{"ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[">=13.5.1 <13.5.7"],"fixed":["13.5.7"]},{"ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[">=14.0.0 <14.2.10"],"fixed":["14.2.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}