CVE-2021-21366
Summary
| CVE | CVE-2021-21366 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-03-12 17:15:00 UTC |
| Updated | 2023-02-28 19:24:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-436 | CWE-115
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Application | Xmldom Project | Xmldom | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 3260-1] node-xmldom security update | MLIST | lists.debian.org | |
| Merge pull request from GHSA-h6q6-9hqw-rwfv · xmldom/xmldom@d4201b9 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Misinterpretation of malicious XML input · Advisory · xmldom/xmldom · GitHub | CONFIRM | github.com | Third Party Advisory |
| Release 0.5.0 · xmldom/xmldom · GitHub | MISC | github.com | Release Notes, Third Party Advisory |
| xmldom | MISC | www.npmjs.com | Product, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.