{"id":"EUVD-2026-30670","enisaUuid":"bb73606a-73e5-3385-8e5f-d7df888e10cb","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.","datePublished":"May 16, 2026, 5:00:09 AM","dateUpdated":"Aug 23, 2026, 3:25:14 PM","baseScore":8.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P","references":"https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792\nhttps://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199\nhttps://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af\n","aliases":"CVE-2026-8657\nGHSA-j4fx-xxwh-2485\n","assigner":"snyk","epss":0.38,"enisaIdProduct":[{"id":"606e29cf-a5c6-3bcf-8e95-b43ba58c295a","product":{"name":"jsondiffpatch","vendor":{"name":"n/a"}},"product_version":"0 \u003c0.7.6"},{"id":"a03c39a4-4fdb-32c2-a191-d5f37d2229f9","product":{"name":"org.webjars.npm:jsondiffpatch","vendor":{"name":"n/a"}},"product_version":"0 \u003c*"}],"enisaIdVendor":[{"id":"1da999d5-455d-329d-a14d-165f2c3f976b","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"5d190b1d-d945-32e2-9eb0-485121940331","vulnerability":{"id":"CVE-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.","datePublished":"May 16, 2026, 5:00:09 AM","dateUpdated":"Aug 23, 2026, 3:25:14 PM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P","references":"https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792\nhttps://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199\nhttps://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af\n","enisa_id":"EUVD-2026-30670\n","assigner":"snyk","epss":0.38,"dataProcessed":"Nov 15, 2026, 7:22:09 AM","vulnerabilityProduct":[{"id":"45d451b7-c254-3cfd-b80a-2258c8ac3309","product":{"name":"jsondiffpatch","vendor":{"name":"n/a"}},"product_version":"0 \u003c0.7.6"},{"id":"82a6539e-1cfb-3def-894d-0d9f7cbadf45","product":{"name":"org.webjars.npm:jsondiffpatch","vendor":{"name":"n/a"}},"product_version":"0 \u003c*"}],"vulnerabilityVendor":[{"id":"ead94cbb-208d-3ed5-ba51-6e5cf9c18dce","vendor":{"name":"n/a"}}]}},{"id":"65f73307-59a9-3a7b-b77c-3a9cf51b2df9","vulnerability":{"id":"GHSA-j4fx-xxwh-2485","description":" jsondiffpatch patch APIs are vulnerable to prototype pollution","datePublished":"May 16, 2026, 6:30:29 AM","dateUpdated":"Aug 31, 2026, 10:10:51 PM","baseScore":0.0,"references":"https://nvd.nist.gov/vuln/detail/CVE-2026-8657\nhttps://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af\nhttps://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb\nhttps://github.com/benjamine/jsondiffpatch\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168\nhttps://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792\nhttps://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990\n","enisa_id":"EUVD-2026-30670\n","aliases":"GHSA-j4fx-xxwh-2485\nCVE-2026-8657\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:50:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}