Prototype pollution in json-ptr
Priority MEDIUM 46CWE-1321Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
EPSS 0.01902 79th percentileScored 2026-11-07
Fix Fixed json-ptr (npm): 2.1.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | json-ptr | all versions | — | No fix listed | CNA |
| — | json-ptr (npm) | before 2.1.0 | 2.1.0 | Patch available | GHSA-x5r6-x823-9848 |
- json-ptr Vendor— Affected all versions Fixed in — No fix listed CNA
- json-ptr (npm) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-x5r6-x823-9848
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:json-ptr_project:json-ptr:*:*:*:*:*:*:*:* | before 2.0.0 | Vulnerable | Json-ptr Project |
- cpe:2.3:a:json-ptr_project:json-ptr:*:*:*:*:*:*:*:* Versions before 2.0.0 Vulnerable ·Json-ptr Project
Remediation
- Fix · GHSA-x5r6-x823-9848 json-ptr (npm) Fixed in 2.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7766
- 2026-10-03 Alias added: GHSA-x5r6-x823-9848
References
More Json-ptr Project Json-ptr vulnerabilities
- TI-2021-06153 Prototype pollution in json-ptr CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-7766 · CVE Program
- CVE-2020-7766 · NVD
- FIRST EPSS
- GHSA-x5r6-x823-9848 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences