CVE-2020-15366Ajv.js Ajv
Medium 5.6 No auth needed
Follow: this CVE · Ajv.js · Ajv.js Ajv We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.6
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jul 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)
What to do
- Apply the vendor's security update for Ajv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | ajv |
< 6.12.3 |
6.12.3 |
npm install ajv@6.12.3 |
Per OSV / GitHub Advisories (GHSA-v88g-cgmw-v5xw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ajv.js | ajv | 6.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- hackerone.com Permissions Required
- security.netapp.com