CVE-2021-21366

  • Severity 4.3 MEDIUM
  • Published
  • Updated
  • Status Modified
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Base Score
CVSS 3.1
EPSS Score
Percentile: 72.11%
Affected Products (NVD)
VendorProductVersion
xmldom_projectxmldom
𝑥
< 0.5.0
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-xmldom
bookworm
0.8.6-1
fixed
bullseye
0.5.0-1+deb11u2
fixed
sid
0.9.5-1
fixed
trixie
0.8.6-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-xmldom
bionic
dne
focal
Fixed 0.1.27+ds-1+deb10u2build0.20.04.1
released
groovy
ignored
hirsute
ignored
impish
ignored
jammy
not-affected
kinetic
not-affected
lunar
not-affected
trusty
dne
xenial
dne