Skip to main content
VulnerabilityPublished Updated

CVE-2026-8656: jsondiffpatch · Cross-site Scripting (XSS)

Affects jsondiffpatchSource CVE Database V5

0
Compare

Public exploit available · CVSS 5.1 Medium : upgrade to 0.7.6 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.7.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade jsondiffpatch to 0.7.6.

Affected software

ProductAffectedFixed in
jsondiffpatchAffected
  • <0.7.6
Fixed in
  • 0.7.6
npmjsondiffpatchpkg:npm/jsondiffpatchOther threatsAffected
  • <0.7.6
Fixed in
  • 0.7.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid rendering untrusted JSON data with the annotated formatter in the DOM or implement strict sanitization and output encoding of JSON values and property names before rendering.

Description

Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.

References

Community reviews

Loading reviews…