json8@0.8.2 vulnerabilities

JSON toolkit for JavaScript

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

json8 is a JSON toolkit for JavaScript

Affected versions of this package are vulnerable to Prototype Pollution. 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.

How to fix Prototype Pollution?

Upgrade json8 to version 1.0.3 or higher.

<1.0.3