Versions of the package jsondiffpatch before 0.7.6 are...
Low 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 Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.
References