CVE-2026-122234
jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th
jsondiffpatch before 0.7.7 contains a cross-site scripting vulnerability that allows attackers to inject markup by supplying an unescaped array-move destination index in a delta. Attackers who control a delta passed to formatters.html.format() or formatters.annotated.format() can embed script that executes in the application's origin when output is rendered.
| CWE | CWE-79 |
| Vendor | benjamine |
| Product | jsondiffpatch |
| Published | Nov 4, 2026 |
Stay Ahead of the Next One
Get instant alerts for benjamine jsondiffpatch
Be the first to know when new medium vulnerabilities affecting benjamine jsondiffpatch are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
benjamine / jsondiffpatch
0 < 0.7.7
References
github.com: https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p github.com: https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af vulncheck.com: https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters
Credits
Zachariah Mithani (AploSec)