{"cve":"CVE-2022-21189","nvd":{"published":"2022-05-01T16:15:08.137","modified":"2026-06-17T04:25:42.577","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-1321"],"references":["https://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164","https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689b","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308","https://snyk.io/vuln/SNYK-JS-DEXIE-2607042","https://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164"],"products":["dexie:dexie"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-21189","score":0.0171,"percentile":0.77356,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3xgx-r9j4-qw9w","url":"https://osv.dev/vulnerability/GHSA-3xgx-r9j4-qw9w","summary":"Prototype Pollution in Dexie","modified":"2025-01-14T10:26:58.953604Z","packages":[{"ecosystem":"npm","name":"dexie","purl":"pkg:npm/dexie","ranges":["<3.2.2"],"fixed":["3.2.2"]},{"ecosystem":"npm","name":"dexie","purl":"pkg:npm/dexie","ranges":[">=4.0.0-alpha.1 <4.0.0-alpha.3"],"fixed":["4.0.0-alpha.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}