Vulnerability library
Security checkFebruary 01, 2023

Prototype Pollution in dset

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

Medium severitynpmdset

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

All versions of dset prior to 3.1.2 are vulnerable to Prototype Pollution via dset/merge mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or prototype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

Recommendation

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

  • Affected version(s): < 3.1.2
  • Patched version(s): 3.1.2

References

Could your website be exposed too?

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

Start a free scan

Related Issues

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