Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5
- https://github.com/benjamine/jsondiffpatch/commit/232338b34c4653148ca2f44e897a76
- https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16635946
- https://gist.github.com/yuki-matsuhashi/72ed072d919f3c52adba298faa6a7da5
FAQ
What is CVE-2026-8656?
CVE-2026-8656 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 applic...
How severe is CVE-2026-8656?
CVE-2026-8656 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-8656?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.