CVE-2021-21366
Misinterpretation of malicious XML input
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
xmldom es un módulo DOMParser y XMLSerializer basado en el estándar JavaScript W3C puro (XML DOM Level 2 Core). xmldom versiones 0.4.0 y anteriores, no preservan correctamente los identificadores del sistema, los FPI o los espacios de nombres cuando se analizan y serializan repetidamente documentos diseñados maliciosos. Esto puede conllevar a cambios sintácticos inesperados durante el procesamiento de XML en algunas aplicaciones posteriores. Esto es corregido en la versión 0.5.0. Como solución alternativa, las aplicaciones posteriores pueden comprobar la entrada y rechazar los documentos diseñados maliciosos
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-12-22 CVE Reserved
- 2021-03-12 CVE Published
- 2024-03-29 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-115: Misinterpretation of Input
- CWE-436: Interpretation Conflict
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/xmldom/xmldom/releases/tag/0.5.0 | Release Notes | |
https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html | Mailing List | |
https://www.npmjs.com/package/xmldom | Product |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 | 2023-02-28 |
URL | Date | SRC |
---|---|---|
https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv | 2023-02-28 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Xmldom Project Search vendor "Xmldom Project" | Xmldom Search vendor "Xmldom Project" for product "Xmldom" | < 0.5.0 Search vendor "Xmldom Project" for product "Xmldom" and version " < 0.5.0" | node.js |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
|