CVE-2024-22195

Updated: 2026-01-19 01:14:41.329714

Description:

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x MEDIUM 6.1

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU python3 3.9.16 6.1 MEDIUM Not Vulnerable 2025-02-21 11:37:28
CentOS 8.4 ELS python3 3.6.8 6.1 MEDIUM Not Vulnerable 2025-02-20 06:37:50
CentOS 8.4 ELS python2 2.7.18 6.1 MEDIUM Not Vulnerable 2025-02-20 11:32:31
CentOS 8.5 ELS python2 2.7.18 6.1 MEDIUM Not Vulnerable 2025-02-20 11:32:31
CentOS 8.5 ELS python3 3.6.8 6.1 MEDIUM Not Vulnerable 2025-02-20 06:37:50
Ubuntu 16.04 ELS python2.7 2.7.12 6.1 MEDIUM Not Vulnerable 2025-02-20 11:32:30
Ubuntu 18.04 ELS python2.7 2.7.17-1 6.1 MEDIUM Not Vulnerable 2025-02-20 11:32:30