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

Security advisories for ajv

  • MediumGHSA-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
  • MediumGHSA-v88g-cgmw-v5xw10 Feb 2022

    Prototype Pollution in Ajv

    Affected
    <6.12.3
    Fixed in
    6.12.3

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.