CVE-2026-122234 jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
LowCVSS 2.3
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm jsondiffpatch | < 0.7.7 | 0.7.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm jsondiffpatch | < 0.7.7 | 0.7.7 |
References
- GitHub Security Advisory (GHSA-jhmf-rq89-q58p) vendor-advisory
- github.com patch
- VulnCheck Advisory: jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters third-party-advisory
- ENISA EUVD EUVD-2026-117120 third-party-advisory