CVE-2020-7766
This affects all versions of package json-ptr.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.90%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.90% probability · 80th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- json-ptr project/json-ptr
- Source
- report@snyk.io
EPSS 1.9% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939Exploit, Third Party Advisory
- https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.