CVE-2026-8657 jsondiffpatch patch APIs are vulnerable to prototype pollution
HighCVSS 8.8
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs. An attacker can perform prototype pollution by supplying crafted delta or JSON Patch documents, as attacker-controlled property names and path segments are used to traverse and modify objects without restricting access to special properties like proto or constructor.prototype, allowing modification of Object.prototype.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm jsondiffpatch(npm) | < 0.7.6 | 0.7.6 |
References
- security.snyk.io
- security.snyk.io
- gist.github.com exploit
- github.com
- github.com
- github.com
- github.com
- github.com patch
- nvd.nist.gov third-party-advisory
- github.com