{"id":"GHSA-j4fx-xxwh-2485","revision":"9d26161442ac4a21ad3564c295245169","records":[{"revision":"9d26161442ac4a21ad3564c295245169","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-j4fx-xxwh-2485","aliases":["CVE-2026-8657"],"title":" jsondiffpatch patch APIs are vulnerable to prototype pollution","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.","state":0,"publishedAt":"2026-05-16T06:30:29+00:00","modifiedAt":"2026-09-10T03:51:05.9880879+00:00","affected":[{"ecosystem":"npm","name":"jsondiffpatch","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-8657","https://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af","https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb","https://github.com/benjamine/jsondiffpatch","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://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792","https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990"],"sourceUrl":"https://github.com/advisories/GHSA-j4fx-xxwh-2485","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j4fx-xxwh-2485","identifiers":["GHSA-j4fx-xxwh-2485","CVE-2026-8657"]},"retained":false,"historicalAffected":[]}],"coverage":[]}