Versions of the package jsondiffpatch before 0.7.6 are...
High severity
Unreviewed
Published
May 16, 2026
to the GitHub Advisory Database
•
Updated May 16, 2026
Description
Published by the National Vulnerability Database
May 16, 2026
Published to the GitHub Advisory Database
May 16, 2026
Last updated
May 16, 2026
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.
References