CVE-2026-8657HIGH 8.2EPSS p28.6%
CVE-2026-8657CVE-2026-8657
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.
Scoring
| CVSS 3.1 | 8.2 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| EPSS | 0.37% probability of exploitation · percentile 28.6% · 2026-06-19T12:03:05Z |
| Published | 2026-05-16 |
| Last modified | 2026-05-19 |
Underlying weaknesses· 1
References
- https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb
- https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115
- https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87
- https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168
- https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199
- https://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af
- https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990
- https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')cwe-1321 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.