Improper Input Validation Affecting xmldom package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-XMLDOM-1534562
  • published28 Jul 2021
  • disclosed28 Jul 2021
  • creditUnknown

Introduced: 28 Jul 2021

CVE-2021-32796  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

There is no fixed version for xmldom.

Overview

xmldom is an A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.

Affected versions of this package are vulnerable to Improper Input Validation. It does not correctly escape special characters when serializing elements are removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications.

Note: Customers who use "xmldom" package, should use "@xmldom/xmldom" instead, as "xmldom" is no longer maintained.

CVSS Scores

version 3.1