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

VendorProductVersions
Alpine:v3.18py3-jinja20, 2.10-r0, 2.10-r1
Alpine:v3.20py3-jinja23.1.2-r3, 2.10-r0, 2.10-r1
Alpine:v3.19py3-jinja22.11.0-r0, 2.11.1-r0, 2.11.3-r1
Alpine:v3.17py3-jinja22.11.3-r0, 0, 2.10-r1
Alpine:v3.22py3-jinja22.10-r2, 2.10-r3, 2.10.1-r0
Alpine:v3.21py3-jinja23.1.2-r3, 2.11.3-r0, 2.11.2-r0
Alpine:v3.23py3-jinja20, 2.10-r1, 2.10-r2

Timeline

  • Jan 11, 2024 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›