CVE-2020-15366
MEDIUM 5.6CVSS 3.1Prototype Pollution in Ajv
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.)
- Published
- 15 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-v88g-cgmw-v5xw
- Sources
- NVDJSONOSV GHSA-v88g-cgmw-v5xwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ajv.js | ajvcpe:2.3:a:ajv.js:ajv:6.12.2:*:*:*:*:*:*:* |
= 6.12.2 | |
| OSV | npm | ajv | < 6.12.3 | 6.12.3 |
References
- https://github.com/ajv-validator/ajv/releases/tag/v6.12.3 · Release Notes, Third Party Advisory, WEB
- https://github.com/ajv-validator/ajv/tags · Third Party Advisory, WEB
- https://hackerone.com/bugs?subject=user&report_id=894259 · Permissions Required, WEB
- https://security.netapp.com/advisory/ntap-20240621-0007/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15366 · ADVISORY
- https://github.com/ajv-validator/ajv/commit/65b2f7d76b190ac63a0d4e9154c712d7aa37049f · WEB
- https://github.com/ajv-validator/ajv · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Jul 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Feb 2022)