CVE-2021-32796CWE-116

Misinterpretation of malicious XML input in xmldom

Medium · published July 27, 2021

CVSS v3.1
6.5
EPSS
1%
Percentile
71.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01358 · 71.5th percentile
Weakness
CWE-116 · Improper Encoding or Escaping of Output
Published
2021-07-27T21:45Z
EPSS history
Timeline
  • 27 JUL 21:45Z
    Misinterpretation of malicious XML input in xmldom
    cvelistv5