ADVISORIES

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 openSUSE

  • SUSE-SU-2024:1863-1

    Security update for python-Jinja2

    CVE-2024-22195CVE-2024-34064 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1864-1

    Security update for python-Jinja2

    CVE-2024-22195CVE-2024-34064 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13581-1

    python310-Jinja2-3.1.3-1.1 on GA media

    CVE-2024-22195 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11992-1

    python313-Jinja2-3.1.6-2.4 on GA media

    CVE-2014-0012CVE-2016-10745CVE-2019-10906CVE-2020-28493 openSUSE Updated 5 October 2026

References