CVE-2026-8656 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the jsondiffpatch package, specifically in versions prior to 0.7.6. The issue arises in the annotated formatter, where improper sanitization of JSON values and property names allows for the injection of attacker-controlled HTML. When applications compare untrusted JSON data and render the annotated formatter output in the DOM, this can be exploited to execute malicious scripts in the user's browser.
Users are advised to upgrade jsondiffpatch to version 0.7.6 or higher.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 16, 2026CISA-ADP
Assessed May 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5 | CISA-ADP | ExploitTechnical Description |
| https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5 | [email protected] | ExploitTechnical Description |
| https://github.com/benjamine/jsondiffpatch/commit/232338b34c4653148ca2f44e897a765b72c8c98f | [email protected] | Source CodeVendor |
| https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16635946 | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jsondiffpatch | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 18, 2026 | CVE Modified | CISA-ADP |
| May 16, 2026 | New CVE Received | [email protected] |
Volerion