Prototype Pollution in Jsondiffpatch
CVE-2026-8657
- CVSS v3
- 8.2 High
- Public exploits
- None known
- EPSS
- 0.004 · 32.3th percentile
- Published
- 2026-05-16
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.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.004, 32.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Jsondiffpatch — versions 0
- Org.webjars.npm:jsondiffpatch — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990
- gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2f…
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2f…
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2f…
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2f…
- github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d5571767…
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792