Skip to main content
VulnerabilityPublished

CVE-2026-46642: jgraph drawio · Cross-site Scripting

Affects jgraph drawioSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium : upgrade to 29.7.12 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 29.7.12
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade drawio and jgraph/drawio to 29.7.12.

Affected software

ProductAffectedFixed in
jgraphdrawioAffected
  • <29.7.12
Fixed in
  • 29.7.12
GitHubjgraph/drawiopkg:github/jgraph/drawioOther threatsAffected
  • <29.7.12
Fixed in
  • 29.7.12

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

AI-suggested

This vulnerability is patched in drawio version 29.7.12. Users should upgrade to version 29.7.12 or later to remediate this issue. No other mitigations are indicated by the vendor advisory. Patch status is confirmed by the vendor stating the issue is fixed in 29.7.12.

Description

draw.io is a configurable diagramming and whiteboarding application. Prior to version 29.7.12, a crafted .drawio file can execute arbitrary JavaScript in the editor's origin when the file is opened. The vulnerability is not in the label sanitizer (which works correctly on the rendering path) but in a feature-detection routine in the Text Format panel that reads the raw cell label and assigns it to a detached element's innerHTML without sanitization. Browsers fire onerror for failed image loads even on detached elements, so an <img src=x onerror=...> payload in any cell label triggers script execution as soon as the cell is selected — which import does automatically. This issue has been patched in version 29.7.12.

References

Community reviews

Loading reviews…