Skip to content
Medium 4.7

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

CVE-2026-122234 First seen on SecPulse

Affected packages

PackageAffected → Fixed
benjaminejsondiffpatch
< 0.7.7→ 0.7.7
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details