CVE-2022-21189

Prototype Pollution

State
Published
Severity
7.3 High
Published
May 1, 2022
Updated
Sep 16, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:Psnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
dexien/a
  • before 3.2.2Affected
  • 4.0.0-alpha.1 to before unspecifiedAffected
  • before 4.0.0-alpha.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.