CVE-2026-122234: benjamine jsondiffpatch · Cross-site Scripting
Affects benjamine jsondiffpatchSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 0.7.7 when convenient.
Data as of 4 Nov 2026, 21:42 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
- Patch
- Available – fixed in 0.7.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade benjamine jsondiffpatch to 0.7.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| benjaminejsondiffpatch | Affected
| Fixed in
|
npmjsondiffpatchpkg:npm/jsondiffpatchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade jsondiffpatch to version 0.7.7 or later, where this vulnerability is fixed. No other mitigation is indicated or required.
Description
jsondiffpatch versions before 0.7.7 contain a cross-site scripting (XSS) vulnerability. This flaw allows attackers to inject malicious markup by providing an unescaped array-move destination index in a delta object. Exploitation requires control over the delta passed to the formatters.html.format() or formatters.annotated.format() functions, enabling script execution in the application's origin context. The vulnerability is fixed in version 0.7.7.
References
- github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p (opens in a new tab)
- github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af (opens in a new tab)
- vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters (opens in a new tab)