jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 4, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 4, 2026
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.
| Product | Versions |
|---|---|
| jsondiffpatch benjamine | before 0.7.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.