Is org.json:json 20220320.0 vulnerable?

Maven · 1 release from 20220320.0.0 to 20220320.0.0 · latest org.json:json is 20260814 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. org.json:json 20220320.0.0, the last 20220320.0 release, is affected by 3 known security advisories (2 high, 1 medium), including CVE-2023-5072, CVE-2022-45688, CVE-2026-59171. Upgrade to 20260719 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.json:json -DdepVersion=20260719 -DforceVersion=true

Is your project on an affected org.json:json?

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

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.json:json 20220320.0.0

  • MediumCVE-2026-59171GHSA-ghc9-756g-vrcv9 Nov 2026

    JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS

    Affected
    >=20150729 <20260719
    Fixed in
    20260719
  • HighCVE-2023-5072GHSA-4jq9-2xhw-jpx714 Nov 2023

    Java: DoS Vulnerability in JSON-JAVA

    Affected
    <20231013
    Fixed in
    20231013
  • HighCVE-2022-45688GHSA-3vqj-43w4-2q5813 Dec 2022

    json stack overflow vulnerability

    Affected
    <20230227
    Fixed in
    20230227

Which of your client projects are still on org.json:json 20220320.0?

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

Other org.json:json versions

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