Todas las CVE / Xmldom Project
CVE-2021-21366Xmldom Project Xmldom
Media 4.3 Sin autenticación
Seguir: esta CVE · Xmldom Project · Xmldom Project Xmldom Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 41
- CVSS 3.1
- 4.3
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 71
- Requiere autenticación
- No
- Publicada
- 12 mar 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Qué pasa
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This is fixed in version 0.5.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Xmldom.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | xmldom |
< 0.5.0 |
0.5.0 |
npm install xmldom@0.5.0 |
Según OSV / GitHub Advisories (GHSA-h6q6-9hqw-rwfv). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| xmldom_project | xmldom | < 0.5.0 |
| debian | debian_linux | 10.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.npmjs.com Product