VDB
ALPINE-CVE-2024-22195
ALPINE-CVE-2024-22195
PUBLISHED
CVSS 6.099999904632568 MEDIUM
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.
Risk Scores
CVSS v3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.18 | py3-jinja2 | 0, 2.10-r0, 2.10-r1 |
| Alpine:v3.20 | py3-jinja2 | 3.1.2-r3, 2.10-r0, 2.10-r1 |
| Alpine:v3.19 | py3-jinja2 | 2.11.0-r0, 2.11.1-r0, 2.11.3-r1 |
| Alpine:v3.17 | py3-jinja2 | 2.11.3-r0, 0, 2.10-r1 |
| Alpine:v3.22 | py3-jinja2 | 2.10-r2, 2.10-r3, 2.10.1-r0 |
| Alpine:v3.21 | py3-jinja2 | 3.1.2-r3, 2.11.3-r0, 2.11.2-r0 |
| Alpine:v3.23 | py3-jinja2 | 0, 2.10-r1, 2.10-r2 |
Timeline
- Jan 11, 2024 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch