GHSA-mr9r-mww3-v6gv · 深刻度: medium · エコシステム: npm — SVG Injection via Unsanitized Options in @dicebear/core and @dicebear/initials
DiceBear is an avatar library for designers and developers. Starting in version 5.0.0 and prior to versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, SVG attribute values derived from user-supplied options (`backgroundColor`, `fontFamily`, `textColor`) were not XML-escaped before interpolation into SVG output. This could allow Cross-Site Scripting (XSS) when applications pass untrusted input to `createAvatar()` and serve the resulting SVG inline or with `Content-Type: image/svg+xml`. Starting in versions 5.4.4, 6.1.4, 7.1.4, 8.0.3, and 9.4.1, all affected SVG attribute values are properly escaped using XML entity encoding. Users should upgrade to the listed patched versions. Some mitigating factors limit vulnerability. Applications that validate input against the library's JSON Schema before passing it to `createAvatar()` are not affected. The DiceBear CLI validates input via AJV and was not vulnerable. Exploitation requires that an application passes untrusted, unvalidated external input directly as option values.
総合評価: CVE-2026-33311 は低リスク(21.7/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.18%、8 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.18% | +0.15% |
| 2 | 2026-03-25 | — | 0.03% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 4.7 | 3.1 | MEDIUM |
|
1.6 | 2.7 | [email protected] |
GHSA-mr9r-mww3-v6gv · 深刻度: medium · エコシステム: npm — SVG Injection via Unsanitized Options in @dicebear/core and @dicebear/initials
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| dicebear | dicebear | >= 5.0.0, < 5.4.4 | cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:* |
| dicebear | dicebear | >= 6.0.0, < 6.1.4 | cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:* |
| dicebear | dicebear | >= 7.0.0, < 7.1.4 | cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:* |
| dicebear | dicebear | >= 8.0.0, < 8.0.3 | cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:* |
| dicebear | dicebear | >= 9.0.0, < 9.4.1 | cpe:2.3:a:dicebear:dicebear:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/dicebear/dicebear/security/advisories/GHSA-mr9r-mww3-v6gv | Vendor Advisory |