Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-122234 EUVD-2026-117120GHSA-36c7-f344-vj2m

jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters

Published Nov 4, 2026 · Updated Nov 9, 2026 · 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.

Affected products

VendorProductAffectedFixed
benjamine jsondiffpatch < 0.7.7 0.7.7

References