VDB
Sign up
CRITICAL9.8

GHSA-7h43-gx24-p529

Prototype pollution in json8

Quick fix

GHSA-7h43-gx24-p529 — json8: upgrade to the fixed version with the command below.

npm install json8@1.0.3

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/json8
Introduced in: 0Fixed in: 1.0.3
Fixnpm install json8@1.0.3

References