GHSA-h75v-3vvj-5mfj · 深刻度: medium · エコシステム: pip — Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter
Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for CVE-2024-22195 only addressed spaces but not other characters. Accepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe. This vulnerability is fixed in 3.1.4.
総合評価: CVE-2024-34064 は中リスク(41.5/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.98%、57 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.23% | 0.98% | -0.25% |
| 2 | 2026-05-25 | 0.94% | 1.23% | +0.29% |
| 3 | 2026-05-22 | — | 0.94% | — |
EPSS の全履歴 (全 19 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-h75v-3vvj-5mfj · 深刻度: medium · エコシステム: pip — Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2024-34064: 1 source package rows (py3-jinja2); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. | https://security.alpinelinux.org/vuln/CVE-2024-34064 |
debian
|
not yet assigned | CVE-2024-34064 not yet assigned priority: Debian including 1 source packages (jinja2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-34064 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2024-34064 |
suse
|
medium | CVE-2024-34064 severity moderate: SUSE including 309 source package names (0.3.2-1.2:python311-Jinja2-3.1.2-150400.12.6.1, 0.3.32-3.4:python311-Jinja2-3.1.2-150400.12.6.1, …), 570 product×package rows across 258 product lines (Container containers/lmcache-vllm-openai, Container containers/open-webui, … (258 product lines)): Fixed 353, Known Affected 212, Will Not Fix 5. | https://www.suse.com/security/cve/CVE-2024-34064/ |
ubuntu
|
medium | CVE-2024-34064 medium priority: Ubuntu including 1 source packages (jinja2), 10 status rows across 10 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, trusty, upstream, xenial): released 10. | https://ubuntu.com/security/CVE-2024-34064 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| palletsprojects | jinja | < 3.1.4 | cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 39 | cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
| fedoraproject | fedora | 40 | cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |