Vulnerability library
Security checkFebruary 01, 2023

Prototype Pollution in Dexie

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmdexie

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Dexie is a minimalistic wrapper for IndexedDB. 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).

Recommendation

Update the dexie package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 4.0.0-alpha.1, <= 4.0.0-alpha.2 < 3.2.2**
  • Patched version(s): **4.0.0-alpha.3 3.2.2**

References

Could your website be exposed too?

SmartScanner can check your website for Prototype Pollution in Dexie and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 01, 2023