CVE-2021-21366

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21366
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21366.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21366
Aliases
Related
Published
2021-03-12T17:15:12Z
Modified
2024-10-12T06:47:07.268525Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / node-xmldom

Package

Name
node-xmldom
Purl
pkg:deb/debian/node-xmldom?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-xmldom

Package

Name
node-xmldom
Purl
pkg:deb/debian/node-xmldom?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-xmldom

Package

Name
node-xmldom
Purl
pkg:deb/debian/node-xmldom?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/xmldom/xmldom

Affected ranges

Type
GIT
Repo
https://github.com/xmldom/xmldom
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.2.0
0.2.1
0.3.0
0.4.0

v0.*

v0.1.16
v0.1.27
v0.1.28-not-published
v0.1.28-xmldom-alpha

xmldom-aplha@v0.*

xmldom-aplha@v0.1.28