CVE-2021-32796
Summary
| CVE | CVE-2021-32796 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-27 22:15:00 UTC |
| Updated | 2022-04-25 17:25:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-116 | CWE-91
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Xmldom Project | Xmldom | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Merge pull request from GHSA-5fg8-2547-mr8q · xmldom/xmldom@7b4b743 · GitHub | MISC | github.com | |
| Misinterpretation of malicious XML input · Advisory · xmldom/xmldom · GitHub | CONFIRM | github.com | |
| Coordinated disclosure of XML round-trip vulnerabilities in Go library | MISC | mattermost.com | |
| 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.
Legacy QID Mappings
- 981558 Nodejs (npm) Security Update for xmldom (GHSA-5fg8-2547-mr8q)