{"id":"CVE-2026-8657","published":"2026-05-16T05:00:09Z","modified":"2026-08-23T15:25:14Z","title":"Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch()…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00378,"percentile":0.32649,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792","tags":[]},{"url":"https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb","tags":[]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87","tags":[]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115","tags":[]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168","tags":[]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199","tags":[]},{"url":"https://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af","tags":[]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":6.53},{"name":"CVSS severity","points":5.74}]},"affectedVersions":[{"vendor":"n/a","product":"jsondiffpatch","versions":["< 0.7.6"]},{"vendor":"n/a","product":"org.webjars.npm:jsondiffpatch","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-18T13:39:14.116160Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jsondiffpatch","vulnerableRanges":["<0.7.6"],"patched":["0.7.6"],"from":["GHSA-j4fx-xxwh-2485"],"provenance":"source"}],"summary":{"text":"Prototype pollution flaw in the jsondiffpatch npm package (versions before 0.7.6), affecting its jsondiffpatch.patch() and jsonpatch formatter patch() APIs, which fail to block special property names such as __proto__ and constructor.prototype when applying attacker-supplied delta or JSON Patch documents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:56Z"},"euvd":{"id":"EUVD-2026-30670","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-9910","published":"2025-09-11","fixed":"0.7.2","kev":false,"link":{"from":"CVE-2025-9910","to":"CVE-2026-8657","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jsondiffpatch","fromFixed":"0.7.2","toFixed":"0.7.6","daysApart":247}]}},{"cve":"CVE-2026-8657","published":"2026-05-16","fixed":"0.7.6","kev":false}],"package":"npm:jsondiffpatch"}}