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 Debian

  • DEBIAN-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…

    CVE-2024-22195 Debian Updated 2 November 2026
  • DLA-3715-1

    jinja2 - security update

    CVE-2024-22195 Debian Updated 20 November 2026
  • DLA-3988-1

    jinja2 - security update

    CVE-2024-22195CVE-2024-34064 Debian Updated 20 November 2026

References