{"cve":"CVE-2020-7766","nvd":{"published":"2020-11-10T16:15:14.963","modified":"2026-06-17T03:25:24.513","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-1321"],"references":["https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396","https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939","https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396"],"products":["json-ptr_project:json-ptr"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-7766","score":0.01902,"percentile":0.79698,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-x5r6-x823-9848","url":"https://osv.dev/vulnerability/GHSA-x5r6-x823-9848","summary":"Arbitrary Code Execution in json-ptr","modified":"2025-01-14T08:57:19.814698Z","packages":[{"ecosystem":"npm","name":"json-ptr","purl":"pkg:npm/json-ptr","ranges":["<2.1.0"],"fixed":["2.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}