CVE-2026-122234
published low CVSS 4.0 · 2.3jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benjamine | — | jsondiffpatch0 to < 0.7.7 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benjamine | jsondiffpatch | 0 to < 0.7.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af
- GitHub Security Advisory (GHSA-jhmf-rq89-q58p) https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p
- VulnCheck Advisory: jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters
Provider assertions
2VulnCheck · cna
jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49c74770fd749ff184c953e5e6f8b0be11be5b0d2020e50183e1a6c034974ef5
- Ingested
- 09 Nov 2026, 17:03:08 UTC
- Source record
- Official CVE record