Is json5 2.2 vulnerable?

npm · 4 releases from 2.2.0 to 2.2.3 · latest json5 is 2.2.3 · checked 2 Nov 2026

No known advisories in the last release

json5 2.2.3, the last 2.2 release, has no known advisories. 1 advisory affects earlier 2.2.x releases, so update to 2.2.3.

Update within 2.2:npm install json5@2.2.3

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 2.2.x, affecting earlier releases

  • HighCVE-2022-46175GHSA-9c47-m6qq-7p4h29 Dec 2022

    Prototype Pollution in JSON5 via Parse Method

    Affected
    >=2.0.0 <2.2.2 · <1.0.2
    Fixed in
    1.0.2, 2.2.2

Which of your client projects are still on json5 2.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact json5 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other json5 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.