This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.
Metrics
Affected Vendors & Products
References
History
No history.

Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-16T22:14:07.645Z
Reserved: 2020-01-21T00:00:00
Link: CVE-2020-7766

No data.

Status : Modified
Published: 2020-11-10T16:15:14.963
Modified: 2024-11-21T05:37:45.777
Link: CVE-2020-7766

No data.