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.

79 advisories report this vulnerability, across 15 ecosystems.

Advisories in Azure Linux

  • AZL-33320

    CVE-2024-22195 affecting package python-jinja2 for versions less than 3.0.3-3

    CVE-2024-22195 Azure Linux Updated 21 April 2026
  • AZL-33349

    CVE-2024-22195 affecting package nodejs18 for versions less than 18.20.3-3

    CVE-2024-22195 Azure Linux Updated 21 April 2026
  • AZL-35050

    CVE-2024-22195 affecting package nodejs for versions less than 20.14.0-1

    CVE-2024-22195 Azure Linux Updated 25 November 2026
  • AZL-35134

    CVE-2024-22195 affecting package python-jinja2 for versions less than 3.1.2-2

    CVE-2024-22195 Azure Linux Updated 25 November 2026

References