GHSA-ghcm-xqfw-q4vr · 深刻度: medium · エコシステム: npm — Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Versions 10.9.5 and earlier, as well as 11.0.0-alpha.1 through 11.14.0, are vulnerable to HTML injection under the default configuration. Specifically, the classDef directive in Mermaid state diagrams permits DOM injection that escapes the SVG context. However, <script> tags are stripped, which prevents cross-site scripting (XSS). This issue has been fixed in versions 10.9.6 and 11.15.0. If developers are unable to immediately upgrade, they can work around this issue by setting "securityLevel": "sandbox", which prevents the issue by rendering the mermaid diagram in a sandboxed <iframe>.
総合評価: CVE-2026-41149 は低リスク(32.2/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.40%、32 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-23 | 0.52% | 0.40% | -0.12% |
| 2 | 2026-06-15 | 0.06% | 0.52% | +0.46% |
| 3 | 2026-05-28 | — | 0.06% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
GHSA-ghcm-xqfw-q4vr · 深刻度: medium · エコシステム: npm — Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-41149 not yet assigned priority: Debian including 1 source packages (node-mermaid), 1 status rows across 1 suites (bullseye): open 1. | https://security-tracker.debian.org/tracker/CVE-2026-41149 |
ubuntu
|
medium | CVE-2026-41149 medium priority: Ubuntu including 1 source packages (node-mermaid), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): DNE 3, needs-triage 2. | https://ubuntu.com/security/CVE-2026-41149 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| データセットに影響を受ける製品はありません。 | |||