PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-122234 benjamine CVE debrief

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.

Vendor
benjamine
Product
jsondiffpatch
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-04
Original CVE updated
2026-11-12
Advisory published
2026-11-04
Advisory updated
2026-11-12

Who should care

Defenders responsible for applications using jsondiffpatch, especially those using formatters.html.format() or formatters.annotated.format(), should assess the exposure of these applications and prioritize upgrading to version 0.7.7 or later.

Why it matters

CVE-2026-122234 is a cross-site scripting vulnerability in jsondiffpatch before 0.7.7. Defenders should prioritize verifying and upgrading to the latest version, assessing application exposure, and implementing input validation and output encoding.

  • Potential for attackers to inject malicious scripts
  • Risk of XSS attacks on applications using affected versions
  • Need for input validation and output encoding
  • Priority on upgrading to jsondiffpatch version 0.7.7 or later

Technical summary

The jsondiffpatch library before version 0.7.7 contains a cross-site scripting (XSS) vulnerability. This vulnerability allows attackers to inject malicious markup by providing an unescaped array-move destination index in a delta. The vulnerability is exploitable when an attacker controls a delta passed to formatters.html.format() or formatters.annotated.format(), enabling the embedding of scripts that execute in the application's origin when the output is rendered.

Defensive priority

Defenders should prioritize verifying and upgrading to jsondiffpatch version 0.7.7 or later, and assess the exposure of applications using affected versions.

Recommended defensive actions

  • Verify and upgrade to jsondiffpatch version 0.7.7 or later
  • Assess the exposure of applications using affected versions
  • Implement input validation and output encoding for delta processing
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its existence in jsondiffpatch before 0.7.7 and the potential for attackers to inject markup. However, specific details about exploitation or victim impact are not provided.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-122234 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-122234

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-122234 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-122234

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/122xxx/CVE-2026-122234.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.