Install
ajv
Another JSON Schema Validator
8.20.0Latest, 24 Apr 2026
2.3BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
15KStars
4.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | ajv has ReDoS when using `$data` option CVE-2025-69873 | Fixed in 8.18.0, 6.14.0 | 11 Feb 2026 |
| Moderate | Prototype Pollution in Ajv CVE-2020-15366 | Fixed in 6.12.3 | 10 Feb 2022 |
In the news
- Zod vs Pydantic vs Ajv: I ran one broken schema in all 3 dev.to, 8 Oct 2026
- GSoC'26_Week14 : Schema, AJV & the Final Stretch dev.to, 1 Sep 2026
- JSON Schema with AJV: Implementation Deep Dive ⚡ dev.to, 2 Oct 2025
- How to Validate AI API Responses with Zod and AJV (and Avoid Breaking Your Frontend) dev.to, 16 Mar 2025
- npm build error: Cannot find module 'ajv/dist/compile/codegen" stackoverflow.com, 16 Jan 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.