CVE-2021-32796
Misinterpretation of malicious XML input in xmldom
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.
xmldom es un módulo DOMParser y XMLSerializer de código abierto basado en el estándar W3C (XML DOM Level 2 Core). Las versiones 0.6.0 y anteriores de xmldom no escapan correctamente los caracteres especiales al serializar elementos eliminados de su ancestro. Esto puede provocar cambios sintácticos inesperados durante el procesamiento de XML en algunas aplicaciones posteriores. Este problema se ha resuelto en la versión 0.7.0. Como solución, las aplicaciones posteriores pueden validar la entrada y rechazar los documentos maliciosos
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-05-12 CVE Reserved
- 2021-07-27 CVE Published
- 2024-04-11 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-91: XML Injection (aka Blind XPath Injection)
- CWE-116: Improper Encoding or Escaping of Output
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q | Third Party Advisory | |
https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities | Not Applicable |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b | 2022-04-25 |
URL | Date | SRC |
---|
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.7.0 Search vendor "Xmldom Project" for product "Xmldom" and version " < 0.7.0" | node.js |
Affected
|