CVE-2021-39178
XSS in Image Optimization API for Next.js versions between 10.0.0 and 11.1.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2021-39178 divulgada · CVSS 7.5 (CNA) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Next.js is a React framework. Versions of Next.js between 10.0.0 and 11.0.0 contain a cross-site scripting vulnerability. In order for an instance to be affected by the vulnerability, the `next.config.js` file must have `images.domains` array assigned and the image host assigned in `images.domains` must allow user-provided SVG. If the `next.config.js` file has `images.loader` assigned to something other than default or the instance is deployed on Vercel, the instance is not affected by the vulnerability. The vulnerability is patched in Next.js version 11.1.1.
Only affects Next.js 10.0.0 through 11.1.0 that set images.domains in next.config.js to a host serving user-provided SVG. Fixed in 11.1.1.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmnext |
Corregida | 11.1.1 | — | 16.4.6 no afectada |
11.1.1Arsenal 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-9gr3-7897-pp7mhttps://github.com/vercel/next.js/releases/tag/v11.1.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
