{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21189","published":"2022-05-01T16:15:08.137000Z","last_modified":"2026-06-17T04:25:42.577000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1321"],"cpes":[{"criteria":"cpe:2.3:a:dexie:dexie:*:*:*:*:*:node.js:*:*","part":"a","vendor":"dexie","product":"dexie","version_end_excluding":"3.2.2"},{"criteria":"cpe:2.3:a:dexie:dexie:4.0.0:alpha1:*:*:*:*:*:*","part":"a","vendor":"dexie","product":"dexie","version":"4.0.0"},{"criteria":"cpe:2.3:a:dexie:dexie:4.0.0:alpha2:*:*:*:*:*:*","part":"a","vendor":"dexie","product":"dexie","version":"4.0.0"}],"cpes_truncated":false,"vendors":["dexie"],"products":["dexie/dexie"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3xgx-r9j4-qw9w","ecosystem":"npm","name":"dexie","purl":"pkg:npm/dexie","ranges":[{"introduced":"0","fixed":"3.2.2"}],"versions":[]},{"advisory":"GHSA-3xgx-r9j4-qw9w","ecosystem":"npm","name":"dexie","purl":"pkg:npm/dexie","ranges":[{"introduced":"4.0.0-alpha.1","fixed":"4.0.0-alpha.3"}],"versions":[]}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-21189/","html_en":"/en/cve/CVE-2022-21189/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21189","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21189"},"untrusted":{"vendor_name":"Dexie","product_name":"Dexie","desc_en":"The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or constructor). This can allow an attacker to add/modify properties of the Object.prototype leading to prototype pollution vulnerability. **Note:** This vulnerability can occur in multiple ways, for example when modifying a collection with untrusted user input.","affected":[],"references":[{"url":"https://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164","tags":["Broken Link"]},{"url":"https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689b","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-DEXIE-2607042","tags":["Exploit","Third Party Advisory"]}]}}