GHSA-rv3x-xq3r-8j9h · 深刻度: medium · エコシステム: swift — LeafKit allows XSS with untrusted user input
Leafkit is a templating language with Swift-inspired syntax. Versions prior to 1.3.0 are susceptible to Cross-site Scripting (XSS) attacks. This affects anyone passing unsanitised data to Leaf's variable tags. Before this fix, Leaf would not escape any strings passed to tags as variables. If an attacker managed to find a variable that was rendered with their unsanitised data, they could inject scripts into a generated Leaf page, which could enable XSS attacks if other mitigations such as a Content Security Policy were not enabled. This has been patched in 1.3.0. As a workaround sanitize any untrusted input before passing it to Leaf and enable a CSP to block inline script and CSS data.
総合評価: CVE-2021-37634 は中リスク(47/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.71%、49 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.31% | 0.71% | +0.40% |
| 2 | 2025-03-30 | 0.45% | 0.31% | -0.14% |
| 3 | 2025-03-29 | — | 0.45% | — |
EPSS の全履歴 (全 9 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.4 | 3.1 | HIGH |
|
2.8 | 4.0 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-rv3x-xq3r-8j9h · 深刻度: medium · エコシステム: swift — LeafKit allows XSS with untrusted user input
| URL | タグ |
|---|---|
| https://github.com/vapor/leaf-kit-ghsa-rv3x-xq3r-8j9h/pull/1 | Broken Link |
| https://github.com/vapor/leaf-kit/security/advisories/GHSA-rv3x-xq3r-8j9h | Third Party Advisory |