{"id":"EUVD-2025-28624","enisaUuid":"5c1cc589-e85c-3875-b450-6b750d46cca8","description":"Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.","datePublished":"Aug 29, 2025, 10:06:27 PM","dateUpdated":"Sep 2, 2025, 7:23:39 PM","baseScore":6.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v\nhttps://github.com/vercel/next.js/pull/82114\nhttps://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd\nhttps://vercel.com/changelog/cve-2025-57752\n","aliases":"CVE-2025-57752\nGHSA-g5qg-72qw-gw5v\n","assigner":"GitHub_M","epss":0.35,"enisaIdProduct":[{"id":"36abb01e-ba9b-3de9-bcff-b63a40aee6d2","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"15.0.0, \u003c 15.4.5"},{"id":"76d62c5e-2ac2-3e61-bafd-ed007ab1ad03","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"\u003c 14.2.31"}],"enisaIdVendor":[{"id":"957f47a2-cd44-35fa-9db1-f6b1f21e8fa1","vendor":{"name":"vercel"}}],"enisaIdVulnerability":[{"id":"487a5ca0-2f42-3902-8d8c-cc6b918f9a8a","vulnerability":{"id":"CVE-2025-57752","description":"Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.","datePublished":"Aug 29, 2025, 10:06:27 PM","dateUpdated":"Sep 2, 2025, 7:23:39 PM","status":"PUBLISHED","baseScore":6.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v\nhttps://github.com/vercel/next.js/pull/82114\nhttps://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd\nhttps://vercel.com/changelog/cve-2025-57752\n","enisa_id":"EUVD-2025-28624\n","assigner":"GitHub_M","epss":0.35,"dataProcessed":"Oct 29, 2026, 7:13:26 AM","vulnerabilityProduct":[{"id":"32ac9249-ed8d-3e9b-99b5-0ca6bb7b0ef8","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"\u003c 14.2.31"},{"id":"8044bfdd-3090-48c6-b178-428fcd65c9af","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"\u003c 14.2.31"},{"id":"f0ee118b-7173-33bc-bcdc-7c44073e7b27","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"15.0.0, \u003c 15.4.5"},{"id":"fa242d46-5096-4cc2-96f9-f266cc314236","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"15.0.0, \u003c 15.4.5"}],"vulnerabilityVendor":[{"id":"ce5e6a2d-5946-3eb2-9a8d-8e16b144d8b9","vendor":{"name":"vercel"}}]}},{"id":"66585837-4af9-39d4-905b-097ed2d853e9","vulnerability":{"id":"GHSA-g5qg-72qw-gw5v","description":"Next.js Affected by Cache Key Confusion for Image Optimization API Routes","datePublished":"Aug 29, 2025, 10:06:22 PM","dateUpdated":"Sep 3, 2025, 1:00:52 PM","baseScore":0.0,"references":"https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-57752\nhttps://github.com/vercel/next.js/pull/82114\nhttps://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd\nhttps://github.com/vercel/next.js\nhttps://vercel.com/changelog/cve-2025-57752\n","enisa_id":"EUVD-2025-28624\n","aliases":"CVE-2025-57752\nGHSA-g5qg-72qw-gw5v\n","epss":0.0,"dataProcessed":"May 3, 2026, 2:12:47 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}