P3 · MediumCVSS 4.7EPSS 0.2%
jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
- CVE-2026-122234
- GHSA-36c7-f344-vj2m
- EUVD-2026-117120
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.
Text from the CVE.org record.
Recommendation
benjamine jsondiffpatch
- If you run a version before 0.7.7update to 0.7.7 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
benjamine jsondiffpatch
Affected versions Fixed in before 0.7.7 0.7.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.