npm package

json5 vulnerabilities by version

The latest release, 2.2.3 (Dec 31, 2022), has no known vulnerabilities. 5% of last week’s 240.4M downloads went to versions with known vulnerabilities. OSV.dev lists 1 advisory for json5; the newest was published on Dec 29, 2022.

npm (opens in a new tab) describes it as “JSON for Humans”

Latest release
2.2.3
Dec 31, 2022, no known vulnerabilities
Downloads last week
240.4M
All versions, from npm
Advisories on OSV.dev
1
Newest Dec 29, 2022
Licence
MIT
OpenSSF Scorecard
3.8/10
json5/json5 (opens in a new tab)

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
2.2.3latestDec 31, 2022No known vulnerabilities162.8M
1.0.2Dec 30, 2022No known vulnerabilities63.9M
1.0.1Mar 18, 20181 known vulnerability, worst rated critical4.4M
0.5.1Nov 27, 20161 known vulnerability, worst rated critical3.7M
2.2.0Feb 1, 20211 known vulnerability, worst rated critical1.5M
2.2.1Mar 21, 20221 known vulnerability, worst rated critical1.4M
2.1.3Apr 4, 20201 known vulnerability, worst rated critical999K
2.2.2Dec 16, 2022No known vulnerabilities876.9K

Who is still on a vulnerable json5

5% of last week’s 240.4M json5 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. json5 doesn’t publish support dates we can check.

LineNewest releaseReleased
22.2.3Dec 31, 2022
11.0.2Dec 30, 2022
0.50.5.1Nov 27, 2016
0.40.4.0Nov 5, 2014
0.20.2.0Jan 28, 2013
0.10.1.0Jun 3, 2012

Newest advisories

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

  1. CriticalCVE-2022-46175 on OSV.dev (opens in a new tab)GHSA-9c47-m6qq-7p4h

    Prototype Pollution in JSON5 via Parse Method

    Affects >= 2.0.0, < 2.2.2; < 1.0.2. Published Dec 29, 2022.

Which json5 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 json5, 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.