Medium
Security advisory
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.)
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15366
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:53 UTC · Revision 1
Source evidence
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.)
osv:CVE-2020-15366
Complete source record
{
"id": "8a01daaa653f2c5e67fd4a94be2d956917c0ee8b41286f66c1edafd14e09b9f5",
"url": "https://osv.dev/vulnerability/CVE-2020-15366",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15366",
"summary": "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.)",
"evidence": "osv:CVE-2020-15366",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-15366",
"aliases": [
"CVE-2020-15366",
"GHSA-v88g-cgmw-v5xw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ajv-validator/ajv",
"type": "GIT",
"events": [
{
"introduced": "6a671057ea6aae690b5967ee26a0ddf8452c6297"
},
{
"last_affected": "6a671057ea6aae690b5967ee26a0ddf8452c6297"
},
{
"fixed": "521c3a53f15f5502fb4a734194932535d311267c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ajv.js:ajv:6.12.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.12.2"
},
{
"last_affected": "6.12.2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "521c3a53f15f5502fb4a734194932535d311267c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.12.3"
}
]
}
}
],
"versions": [
"6.12.2",
"v6.12.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15366.json"
}
}
],
"modified": "2026-10-20T10:51:55.499230549Z",
"provider": "osv",
"references": [
"https://github.com/ajv-validator/ajv/releases/tag/v6.12.3",
"https://github.com/ajv-validator/ajv/tags",
"https://security.netapp.com/advisory/ntap-20240621-0007/",
"https://hackerone.com/bugs?subject=user&report_id=894259"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15366",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383131,
"published_at": "2020-07-15T20:15:13.38+00:00"
}