CVE-2021-21366: debian debian_linux Misinterpretation of Input
Vulnerability summary
CVE-2021-21366 is a medium (CVSS 4.3) Misinterpretation of Input vulnerability in debian debian_linux. EPSS estimates a 1.34% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 12-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- OSV · NpmEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.34%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.34% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-115Misinterpretation of InputThe product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion.
- CWE-436Interpretation ConflictProduct A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
Affected systems
Chainguard2 products
- wazuh-dashboard-security-plugin< 4.14.6-r3
- wazuh-dashboard-security-plugin-fips< 4.14.6-r1
Debian2 products
- node-xmldom< 0.5.0-1
- debian_linuxEOL10.0
Npm1 product
- xmldom< 0.5.0
Ubuntu1 product
- node-xmldom< 0.1.27+ds-1+deb10u2build0.20.04.1
Xmldom1 product
- xmldom< 0.5.0
Xmldom_project1 product
- xmldom< 0.5.0
6 vendors · 8 products
References
11 links- lists.debian.org/debian-lts-announce/2023/01/msg00000.htmlMailing ListWEBAdvisoryThird Party Advisory
Show all 11 references
- github.com/xmldom/xmldomPACKAGE