CVE-2024-22195
jinja2 - security update
5.4
MEDIUM
CVSS 3.1
EPSS 0.89%
描述
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.
如何修補 CVE-2024-22195
要修補 CVE-2024-22195,請將受影響套件升級到下列已修補版本。
- —升級至 3.1.3 或更新版本
- —升級至 3.1.3 或更新版本
CVE-2024-22195 正在被利用嗎?
低 — EPSS 為 0.9%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 3.1.3
- from 0, < 3.1.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |