Vulnerability

CVE-2026-8657

highCVSS 4.0 7.8Published 16 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • gist.github.com /yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb
  • github.com /benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68…
  • github.com /benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68…
  • github.com /benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68…
  • github.com /benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68…
  • github.com /benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d…
  • security.snyk.io /vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792
  • security.snyk.io /vuln/SNYK-JS-JSONDIFFPATCH-16322990

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning