dexie@2.0.4 vulnerabilities

A Minimalistic Wrapper for IndexedDB

Direct Vulnerabilities

Known vulnerabilities in the dexie package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

Affected versions of this package 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.

How to fix Prototype Pollution?

Upgrade dexie to version 3.0.4, 3.2.2, 4.0.0-alpha.3 or higher.

<3.0.4 >=3.1.0-alpha.1 <3.2.2 >=4.0.0-alpha.1 <4.0.0-alpha.3