Is Newtonsoft.Json 12.0 vulnerable?

NuGet · 3 releases from 12.0.1 to 12.0.3 · latest Newtonsoft.Json is 13.0.4 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. Newtonsoft.Json 12.0.3, the last 12.0 release, is affected by 1 known security advisory (1 high), including CVE-2024-21907. Upgrade to 13.0.1 or later to fix all of them.

Upgrade with:dotnet add package Newtonsoft.Json --version 13.0.1

Is your project on an affected Newtonsoft.Json?

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

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

Advisories affecting Newtonsoft.Json 12.0.3

  • HighCVE-2024-21907GHSA-5crp-9r3c-p9vr22 Jun 2022

    Improper Handling of Exceptional Conditions in Newtonsoft.Json

    Affected
    <13.0.1
    Fixed in
    13.0.1

Every Newtonsoft.Json 12.0.x release

Affected: 12.0.1 to 12.0.3. Latest Newtonsoft.Json: 13.0.4.

VersionKnown advisories
Newtonsoft.Json 12.0.3CVE-2024-21907
Newtonsoft.Json 12.0.2CVE-2024-21907
Newtonsoft.Json 12.0.1CVE-2024-21907

Which of your client projects are still on Newtonsoft.Json 12.0?

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

Other Newtonsoft.Json versions

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