Vulnerability library
Security checkJanuary 28, 2023

deep-object-diff vulnerable to Prototype Pollution

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

Medium severitynpmdeep-object-diff

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

deep-object-diff before version 1.1.6 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited. This issue was fixed in version 1.1.9.

Recommendation

Update the deep-object-diff package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.1.6, < 1.1.9
  • Patched version(s): 1.1.9

References

Could your website be exposed too?

SmartScanner can check your website for deep-object-diff vulnerable to Prototype Pollution and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 28, 2023