Vulnerability
CVE-2024-22195
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.
80 advisories report this vulnerability, across 15 ecosystems.
Advisories in SUSE
-
SUSE-SU-2024:1863-1
Security update for python-Jinja2
-
SUSE-SU-2024:1863-2
Security update for python-Jinja2
-
SUSE-SU-2024:1864-1
Security update for python-Jinja2
-
SUSE-SU-2025:20035-1
Security update for python-Jinja2
-
SUSE-SU-2026:4580-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4581-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4582-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4583-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4584-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4585-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:5436-1
Security update 5.1.6 for Multi-Linux Manager Server
-
SUSEVEX-CVE-2024-22195
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…
References
- https://github.com/pallets/jinja/releases/tag/3.1.3
- https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
- https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html