CVE-2026-8656
LOW EPSS 9.0%
Published May 16, 20261mo ago · Modified Jun 17, 20262w ago
2.0 CVSS 4.0
Published May 16, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction A
Scope X
Threat Intelligence
EPSS Exploit Probability
9.0% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
References 3
- gist.github.com https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5
- github.com https://github.com/benjamine/jsondiffpatch/commit/232338b34c4653148ca2f44e897a765b72c8c98f
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16635946
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.