{"id":"GHSA-gp8f-8m3g-qvj9","revision":"ce5e24a657ed40ea849e6b3e371eb503","records":[{"revision":"ce5e24a657ed40ea849e6b3e371eb503","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-gp8f-8m3g-qvj9","aliases":["CVE-2024-46982"],"title":"Next.js Cache Poisoning","description":"### Impact\n\nBy 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. \n\nTo be potentially affected all of the following must apply: \n\n- Next.js between 13.5.1 and 14.2.9\n- Using pages router\n- Using non-dynamic server-side rendered routes e.g. `pages/dashboard.tsx` not `pages/blog/[slug].tsx`\n\nThe below configurations are unaffected:\n\n- Deployments using only app router\n- Deployments on [Vercel](https://vercel.com/) are not affected\n\n\n### Patches\n\nThis 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.\n\n### Workarounds\n\nThere are no official or recommended workarounds for this issue, we recommend that users patch to a safe version.\n\n#### Credits\n\n- Allam Rachid (zhero_)\n- Henry Chen","state":0,"publishedAt":"2024-09-17T21:58:09+00:00","modifiedAt":"2026-09-10T03:50:18.7870707+00:00","affected":[{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"13.5.1"},{"kind":"fixed","version":"13.5.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"14.0.0"},{"kind":"fixed","version":"14.2.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/vercel/next.js/security/advisories/GHSA-gp8f-8m3g-qvj9","https://nvd.nist.gov/vuln/detail/CVE-2024-46982","https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3","https://github.com/vercel/next.js/commit/bd164d53af259c05f1ab434004bcfdd3837d7cda","https://github.com/vercel/next.js"],"sourceUrl":"https://github.com/advisories/GHSA-gp8f-8m3g-qvj9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gp8f-8m3g-qvj9","identifiers":["GHSA-gp8f-8m3g-qvj9","CVE-2024-46982"]},"retained":false,"historicalAffected":[]}],"coverage":[]}