Skip to content

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

LowCVSS 2.3 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm jsondiffpatch < 0.7.7 0.7.7 Fixed

Affected products

ProductAffected versionsFixed in
npm jsondiffpatch < 0.7.7 0.7.7

References