CVE-2026-122234
A cross-site scripting vulnerability exists in jsondiffpatch before 0.7.7, allowing attackers to inject markup by supplying an unescaped array-move destination index in a delta. This issue affects applications using formatters.html.format() or formatters.annotated.format() when processing user-controlled deltas. The vulnerability can lead to potential attacks, including the injection of malicious scripts, and defenders should prioritize verifying and upgrading to jsondiffpatch version 0.7.7 or later. Additionally, defenders should assess the exposure of applications using affected versions and implement input validation and output encoding for delta processing.