dexie@1.0.2 vulnerabilities

A Minimalistic Wrapper for IndexedDB

  • latest version

    4.0.10

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    27 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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