CVE-2025-57752
Next.js Affected by Cache Key Confusion for Image Optimization API Routes
Texto original en inglés · Ver en español
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2025-57752 divulgada · CVSS 6.2 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 15.4.11 | next · 150 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmnext |
Corregida | 14.2.31, 15.4.11 | 150 d | 16.4.6 no afectada |
14.2.3115.4.515.4.11Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5vhttps://vercel.com/changelog/cve-2025-57752https://github.com/vercel/next.js/pull/82114https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422dddLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
