GitHub Advisory Database
GHSA-7h43-gx24-p529
Prototype pollution in json8
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | json8 | All versions before 1.0.3 (fixed in 1.0.3) |