CVE-2026-122234

Source
https://cve.org/CVERecord?id=CVE-2026-122234
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122234.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-122234
Aliases
  • GHSA-jhmf-rq89-q58p
Published
2026-11-04T21:06:41Z
Modified
2026-11-14T02:30:25Z
Severity
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122234.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.7.7"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.7.7"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/benjamine/jsondiffpatch

Affected ranges

Type
GIT
Repo
https://github.com/benjamine/jsondiffpatch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.0.2
v0.0.3
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.1.2
v0.1.3
v0.1.35
v0.1.4
v0.1.42
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.3.10
v0.3.11
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.5.0
v0.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122234.json"