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 3.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-jinja22.7-r1, 2.7.1-r0, 2.7.2-r0
Alpine:v3.20py3-jinja22.8-r1, 2.7.3-r0, 2.7.2-r0
Alpine:v3.24py3-jinja20
Alpine:v3.19py3-jinja22.10.1-r0, 2.11.1-r0, 2.11.3-r1
Alpine:v3.17py3-jinja20, 0, 3.1.2-r0
Alpine:v3.22py3-jinja22.10-r2, 2.10-r3, 2.10.1-r0
Alpine:v3.21py3-jinja20, 2.5.5-r1, 2.5.5-r0
Alpine:v3.23py3-jinja20, 2.10-r1, 2.10-r2

Timeline

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