CVE-2026-122234

Updated on 04 Nov 2026

Severity

4.7 Medium severity

Details

CVSS score
4.7
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Overview

About vulnerability

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.

Details

Affected product:
agents , ai , ai-sdk-rsc , jsondiffpatch
Affected packages:
jsondiffpatch @ 0.6.0 (+168 more)