xml2js@0.1.9 vulnerabilities

Simple XML to JavaScript object converter.

Direct Vulnerabilities

Known vulnerabilities in the xml2js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution due to allowing an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.

How to fix Prototype Pollution?

Upgrade xml2js to version 0.5.0 or higher.

<0.5.0