DEBIAN-CVE-2021-21366

Source
https://security-tracker.debian.org/tracker/CVE-2021-21366
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-21366.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-21366
Upstream
Published
2021-03-12T17:15:12.643Z
Modified
2025-11-14T04:01:31.159583Z
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"
}

Debian:14 / 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"
}