Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-46642— draw.io: XSS via crafted cell label when opening a .drawio file

Quick assessment

Affected
jgraph drawio
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

draw.io是draw.io开源的一款可配置的图表绘制和白板应用。 draw.io 29.7.12之前版本存在跨站脚本漏洞,该漏洞源于Text Format面板中的特征检测例程未对原始单元格标签进行清理,导致特制的.drawio文件在打开时可执行任意JavaScript。

CVSS 6.1 · Medium EPSS 0.32% · P23

Affected Version Matrix 1

VendorProduct Version RangeStatus
jgraph drawio < 29.7.12 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46642

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
draw.io: XSS via crafted cell label when opening a .drawio file
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
draw.io 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
draw.io是draw.io开源的一款可配置的图表绘制和白板应用。 draw.io 29.7.12之前版本存在跨站脚本漏洞,该漏洞源于Text Format面板中的特征检测例程未对原始单元格标签进行清理,导致特制的.drawio文件在打开时可执行任意JavaScript。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jgraph drawio < 29.7.12 -

II. Public POCs for CVE-2026-46642

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46642

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-46642 (1)

Vendor Pages for CVE-2026-46642 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-46642

No comments yet


Leave a comment