ajv vulnerabilities

Another JSON Schema Validator

Registry
npm
Latest
8.20.0
License
MIT

2 known advisories

The latest version, 8.20.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install ajv@8.20.0

Is your project on an affected ajv?

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

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

Security advisories for ajv

  • MediumCVE-2025-69873GHSA-2g4f-4pwh-qvx611 Feb 2026

    ajv has ReDoS when using `$data` option

    Affected
    >=7.0.0-alpha.0 <8.18.0 · <6.14.0
    Fixed in
    6.14.0, 8.18.0
  • MediumCVE-2020-15366GHSA-v88g-cgmw-v5xw10 Feb 2022

    Prototype Pollution in Ajv

    Affected
    <6.12.3
    Fixed in
    6.12.3

Is your ajv version vulnerable?

Which of your client projects still run an old ajv?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.