High severity7.3NVD Advisory· Published Nov 10, 2020· Updated Jun 17, 2026
CVE-2020-7766
CVE-2020-7766
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
json-ptrnpm | < 2.1.0 | 2.1.0 |
Affected products
3- json-ptr/json-ptrdescription
Patches
Vulnerability mechanics
References
9- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396nvdExploitThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JS-JSONPTR-1016939nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-x5r6-x823-9848ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7766ghsaADVISORY
- github.com/418sec/json-ptr/pull/3ghsaWEB
- github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174nvdBroken LinkWEB
- github.com/flitbit/json-ptr/commit/2539e3494c80af1eef24f0f433654a61f255f011ghsaWEB
- www.huntr.dev/bounties/2-npm-json-ptrghsaWEB
- www.npmjs.com/package/json-ptrghsaWEB
News mentions
0No linked articles in our index yet.