Skip to main content
← All vulnerabilities
CVE-2026-8657GHSA-J4FX-XXWH-2485

Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch() and jsondiffpatch/for

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a jsondiffpatch

    fixed in 0.7.6

  • n/a org.webjars.npm:jsondiffpatch

    All versions

  • jsondiffpatchnpm

    fixed in 0.7.6

References 8

security.snyk.io

gist.github.com

GitHub · benjamine/jsondiffpatch