CVE Explore

XSS in Jsondiffpatch

CVE-2026-8656

CVSS v3
6.1 Medium
Public exploits
None known
EPSS
0.002 · 8.7th percentile
Published
2026-05-16

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
Required UI:R
Scope
Changed S:C
Confidentiality
Low C:L
Integrity
Low I:L
Availability
None A:N

EPSS exploit prediction

EPSS 0.002, 8.7th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Jsondiffpatch — versions 0

Weakness classification (CWE)

References