diagramsのdrawioにおけるクロスサイトスクリプティングの脆弱性
| Title |
diagramsのdrawioにおけるクロスサイトスクリプティングの脆弱性
|
| Summary |
draw.ioは設定可能なダイアグラムおよびホワイトボードアプリケーションです。バージョン29.7.12より前のバージョンでは、細工された.drawioファイルを開くとエディターのオリジンで任意のJavaScriptを実行できます。この脆弱性は、レンダリングパス上で正しく動作するラベルサニタイザにはなく、生のセルラベルを読み取り、サニタイズせずに切り離された要素のinnerHTMLに割り当てるText Formatパネルの機能検出ルーチンにあります。ブラウザは切り離された要素でも画像読み込み失敗時にonerrorを発火させるため、任意のセルラベルに含まれるimg src=x onerror=...のペイロードはセルが選択されるとすぐにスクリプトを実行します。セルの選択はimport時に自動的に行われます。この問題はバージョン29.7.12で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 10, 2026, midnight |
| Registration Date |
June 17, 2026, 3:39 p.m. |
| Last Update |
June 17, 2026, 3:39 p.m. |
|
CVSS3.0 : 警告
|
| Score |
6.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected System
| diagrams |
|
drawio 29.7.12 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月17日] 掲載 |
June 17, 2026, 3:39 p.m. |
NVD Vulnerability Information
CVE-2026-46642
| Summary |
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.
|
| Publication Date |
June 11, 2026, 3:17 a.m. |
| Registration Date |
June 11, 2026, 4:18 a.m. |
| Last Update |
June 16, 2026, 10:54 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:diagrams:drawio:*:*:*:*:*:*:*:* |
|
|
|
29.7.12 |
Related information, measures and tools
Common Vulnerabilities List