# CVE-2026-122234: jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-04T21:06:41.734Z
- Modified: 2026-11-12T21:30:23.870Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- benjamine jsondiffpatch: before 0.7.7

## Every score

- VulnCheck: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p> (vendor-advisory)
- <https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af> (patch)
- <https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-122234](https://www.cve.org/CVERecord?id=CVE-2026-122234), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-122234](https://nvd.nist.gov/vuln/detail/CVE-2026-122234), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-122234 · Whole record: https://cve.day/CVE-2026-122234.json · Rebuilt by cve.day 2026-11-25T22:59:49.041Z
