Prototype pollution in json8
Critical severity
GitHub Reviewed
Published
May 10, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Nov 12, 2020
Reviewed
Apr 19, 2021
Published to the GitHub Advisory Database
May 10, 2021
Last updated
Feb 1, 2023
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.
References