CVE-2021-32796

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32796
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32796.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32796
Aliases
Related
Published
2021-07-27T22:15:07Z
Modified
2024-10-12T07:36:10.262919Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

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

Affected versions

0.*

0.5.0-1
0.5.0-1+deb11u1
0.5.0-1+deb11u2
0.7.3-1
0.7.5-1
0.8.3-1
0.8.6-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.7.3-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.7.3-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
0.5.0
0.6.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