CVE-2021-32796
Misinterpretation of malicious XML input
6.5
MEDIUM
CVSS 3.1
EPSS 1.1%
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.
How to fix CVE-2021-32796
To remediate CVE-2021-32796, upgrade the affected package to a fixed version below.
- —no fix listed
- —no fix listed
- —upgrade to 0.7.0 or later
Is CVE-2021-32796 being exploited?
Low — EPSS is 1.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, <= 0.6.0
- from 0, < 0.7.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |