← Database

CVE-2026-8656

MEDIUM CVSS: 6.1 Published: 2026-05-16 Modified: 2026-06-17

Description

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.

Affected Platforms

Unknown

Weakness Type

CWE-79, CWE-79

References