CVE-2022-21189

Summary

CVECVE-2022-21189
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-05-01 16:15:00 UTC
Updated2022-05-11 14:02:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-1321

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Dexie Dexie All All All All
Application Dexie Dexie 4.0.0 alpha1 All All
Application Dexie Dexie 4.0.0 alpha2 All All

References

ReferenceSourceLinkTags
Prototype Pollution in dexie | CVE-2022-21189 | Snyk MISC snyk.io
Prohibit prototype pollution · dexie/Dexie.js@1d655a6 · GitHub MISC github.com
Prototype Pollution in org.webjars.npm:dexie | CVE-2022-21189 | Snyk MISC snyk.io
github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/... MISC github.com
Dexie.js/utils.ts at fe682ef24568278c3b31d9d6c93de095d4b77ae8 · dexie/Dexie.js · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Alessio Della Libera of Snyk Security Team

Legacy QID Mappings

  • 20355 Oracle Database 21c Critical Patch Update - July 2023
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report