Vulnerability library
Security checkFebruary 01, 2023

Prototype pollution in json8

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

High severitynpmjson8

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.

Recommendation

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

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

References

Could your website be exposed too?

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

Start a free scan

Related Issues

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