Skip to content

xml2js (npm)

XML to JavaScript object converter.

Advisories
1
Latest version
0.6.2
Released Jul 26, 2023
License
MIT
OpenSSF Scorecard
3.3 / 10

How to fix

Upgrading to 0.5.0 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install xml2js@0.6.2
yarn
yarn add xml2js@0.6.2
pnpm
pnpm add xml2js@0.6.2

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-776f-qx25-q3cc
xml2js is vulnerable to prototype pollution
Medium
EPSS 1.40%
< 0.5.0
0.5.0

Source: git+https://github.com/Leonidas-from-XIV/node-xml2js.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor