---
title: "ajv 8.20.0: release notes, upgrades and advisories"
description: "ajv 8.20.0: release notes, breaking changes by major version and 2 known advisories with their fix."
url: https://inlinr.com/packages/ajv
lang: en
---

[Packages](https://inlinr.com/packages)

# ajv

8.20.0 · 24 Apr 2026 MIT 544M / week [Repository](https://github.com/ajv-validator/ajv) [Homepage](https://ajv.js.org/) [npm](https://www.npmjs.com/package/ajv) [Atom feed](https://inlinr.com/packages/feed/ajv)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/ajv/upgrade)

LineNewestSecurity

- 8.x 8.20.0 Safe from 8.18.0 Latest line
- 7.x 7.2.4 1 open advisory, worst moderate  · last release Mar 2021, no longer updated [To 8.20.0](https://inlinr.com/packages/ajv/upgrade/7.2.4-8.20.0)
- 6.x 6.15.0 Safe from 6.14.0 [To 8.20.0](https://inlinr.com/packages/ajv/upgrade/6.15.0-8.20.0)
- 5.x and older 5.5.2 26 open advisories, worst moderate  · last release Dec 2017, no longer updated [To 8.20.0](https://inlinr.com/packages/ajv/upgrade/5.5.2-8.20.0)

## Latest releases

[All 317 releases](https://inlinr.com/packages/ajv/releases)

1. 8.x · latest line
2. ### [8.20.0](https://inlinr.com/packages/ajv/releases/8.20.0 "Open this release") [](https://github.com/ajv-validator/ajv/releases/tag/v8.20.0 "Read this release where it was published")  
24 Apr 2026

  - Add support for node 22/24, drop node 16/21
  - Add ES2022.RegExp for RegExpIndicesArray
3. ### [8.18.0](https://inlinr.com/packages/ajv/releases/8.18.0 "Open this release") [](https://github.com/ajv-validator/ajv/releases/tag/v8.18.0 "Read this release where it was published")  
14 Feb 2026

  - Security

**pattern:** Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)
  - Allow tree-shaking by adding `"sideEffects": false` to `package.json`
  - [#2482](https://github.com/ajv-validator/ajv/issues/2482) Infinity and NaN serialise to null
4. ### [8.17.1](https://inlinr.com/packages/ajv/releases/8.17.1 "Open this release") [](https://github.com/ajv-validator/ajv/releases/tag/v8.17.1 "Read this release where it was published")  
12 Jul 2024  
The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time.

Dependency tracking

## Know when your own dependencies move

ajv had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/ajv/security)

- [ajv has ReDoS when using \`$data\` option](https://inlinr.com/advisories/GHSA-2g4f-4pwh-qvx6) Moderate · fixed in 8.18.0, 6.14.0
- [Prototype Pollution in Ajv](https://inlinr.com/advisories/GHSA-v88g-cgmw-v5xw) Moderate · fixed in 6.12.3

## Health

[Details](https://inlinr.com/packages/ajv/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Registry facts last checked 24 Nov 2026\. Releases and advisories last read 24 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
