npm package

xml2js vulnerabilities by version

The latest release, 0.6.2 (Jul 26, 2023), has no known vulnerabilities. 12% of last week’s 45.2M downloads went to versions with known vulnerabilities. OSV.dev lists 1 advisory for xml2js; the newest was published on Apr 5, 2023.

npm (opens in a new tab) describes it as “Simple XML to JavaScript object converter.”

Latest release
0.6.2
Jul 26, 2023, no known vulnerabilities
Downloads last week
45.2M
All versions, from npm
Advisories on OSV.dev
1
Newest Apr 5, 2023
Licence
MIT

Most-downloaded versions last week

From npm’s per-version download counts for the last 7 days, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.

VersionKnown vulnerabilitiesDownloads
0.6.2latestJul 26, 2023No known vulnerabilities19.3M
0.6.0May 25, 2023No known vulnerabilities10.4M
0.5.0Apr 9, 2023No known vulnerabilities10.1M
0.4.23Dec 19, 20191 known vulnerability, worst rated warning3M
0.4.19Aug 22, 20171 known vulnerability, worst rated warning1.8M
0.4.17Jul 5, 20161 known vulnerability, worst rated warning219.8K
0.2.8Jun 15, 20131 known vulnerability, worst rated warning140.9K
0.4.4May 28, 20141 known vulnerability, worst rated warning69.6K

Who is still on a vulnerable xml2js

12% of last week’s 45.2M xml2js downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Release lines

The newest release of each major line, from the registry. xml2js doesn’t publish support dates we can check.

LineNewest releaseReleased
0.60.6.2Jul 26, 2023
0.50.5.0Apr 9, 2023
0.40.4.23Dec 19, 2019
0.20.2.8Jun 15, 2013
0.10.1.14May 5, 2012

Newest advisories

The 1 most recently published, with the versions each one affects.

  1. WarningCVE-2023-0842 on OSV.dev (opens in a new tab)GHSA-776f-qx25-q3cc

    xml2js is vulnerable to prototype pollution

    Affects < 0.5.0. Published Apr 5, 2023.

Which xml2js do you have?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism reads every OSV.dev advisory for xml2js, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against OSV.dev, CISA KEV, npm and deps.dev.