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

  • ALAS2-2024-2436

    Amazon Linux 2 2017.12 - ALAS2-2024-2436: medium priority package update for python-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 1 February 2024
  • ALAS2-2024-2437

    Amazon Linux 2 2017.12 - ALAS2-2024-2437: medium priority package update for python3-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 1 February 2024
  • ALAS2023-2024-503

    Amazon Linux 2023 - ALAS2023-2024-503: Medium priority package update for python-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 6 February 2024
  • ALPINE-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 Alpine Updated 2 November 2026
  • ALPINE-EDGE-CVE-2024-22195
    CVE-2024-22195 Alpine Updated 18 November 2026
  • ALSA-2024:2132

    Moderate: fence-agents security and bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 AlmaLinux Updated 29 October 2026
  • ALSA-2024:2348

    Moderate: python-jinja2 security update

    CVE-2024-22195 AlmaLinux Updated 29 October 2026
  • ALSA-2024:2968

    Moderate: fence-agents security and bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 AlmaLinux Updated 29 October 2026
  • ALSA-2024:2987

    Moderate: python27:2.7 security update

    CVE-2022-40897CVE-2022-48560CVE-2022-48565CVE-2023-43804 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3102

    Moderate: python-jinja2 security update

    CVE-2024-22195 AlmaLinux Updated 29 October 2026
  • 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 23 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 23 November 2026
  • CGA-26mm-653v-3h6r
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-2v5c-3w6j-4xpc
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-3cgq-9346-r89x
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-4wf7-24h2-38q3
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-5757-4cwp-fvh8
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-79hg-gfjw-q33q
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-8r95-fp34-xpm4
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-9cwr-jmp2-8f64
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-c8qp-x78q-9j9w
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-cp4f-grmc-88mx
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-cvc2-xj2j-pp45
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-cwjw-p576-w47h
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-gjr2-qj2p-fph3
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-h85w-mc4p-hxjx
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-hxr8-fjpr-j6x9
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-jcxp-m72p-5q7f
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • CGA-ww9v-4238-vfqj
    CVE-2024-22195 ChainguardWolfi Updated 5 November 2026
  • 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
  • ELSA-2024-2132

    ELSA-2024-2132: fence-agents security and bug fix update (MODERATE)

    Moderate CVE-2023-45803CVE-2023-52323CVE-2024-22195 Oracle Linux Updated 2 May 2024
  • ELSA-2024-2348

    ELSA-2024-2348: python-jinja2 security update (MODERATE)

    Moderate CVE-2024-22195 Oracle Linux Updated 2 May 2024
  • ELSA-2024-2968

    ELSA-2024-2968: fence-agents security and bug fix update (MODERATE)

    Moderate CVE-2023-45803CVE-2023-52323CVE-2024-22195 Oracle Linux Updated 23 May 2024
  • ELSA-2024-2987

    ELSA-2024-2987: python27:2.7 security update (MODERATE)

    Moderate CVE-2022-40897CVE-2022-48560CVE-2022-48565CVE-2023-43804 Oracle Linux Updated 24 May 2024
  • ELSA-2024-3102

    ELSA-2024-3102: python-jinja2 security update (MODERATE)

    Moderate CVE-2024-22195 Oracle Linux Updated 23 May 2024
  • GHSA-h5c8-rqwp-cp95

    Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

    Moderate CVE-2024-22195 PyPI Updated 10 September 2026
  • OESA-2024-1128

    python-jinja2 security update

    Medium CVE-2024-22195 openEuler Updated 18 August 2026
  • PYSEC-2026-1473

    Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

    CVE-2024-22195 PyPI Updated 7 July 2026
  • RHBA-2024:0891

    Red Hat Bug Fix Advisory: fence-agents update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHBA-2024:1091

    Red Hat Bug Fix Advisory: fence-agents bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHBA-2024:1114

    Red Hat Bug Fix Advisory: fence-agents bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHBA-2024:1137

    Red Hat Bug Fix Advisory: fence-agents bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHBA-2024:1398

    Red Hat Bug Fix Advisory: fence-agents update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHBA-2024:1416

    Red Hat Bug Fix Advisory: fence-agents update

    CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:1057

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2022-40896CVE-2023-44271CVE-2023-47627CVE-2023-49081 Red Hat Updated 24 November 2026
  • RHSA-2024:1155

    Red Hat Security Advisory: fence-agents security update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:1536

    Red Hat Security Advisory: Satellite 6.14.3 Async Security Update

    CVE-2023-43665CVE-2023-47627CVE-2023-49081CVE-2023-5189 Red Hat Updated 24 November 2026
  • RHSA-2024:1640

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-39326CVE-2023-41040CVE-2023-45857CVE-2023-46137 Red Hat Updated 24 November 2026
  • RHSA-2024:1878

    Red Hat Security Advisory: RHUI 4.8 Release - Security Updates, Bug Fixes, and Enhancements

    CVE-2023-36053CVE-2023-37276CVE-2023-41164CVE-2023-43665 Red Hat Updated 24 November 2026
  • RHSA-2024:2010

    Red Hat Security Advisory: Satellite 6.15.0 release

    CVE-2022-40896CVE-2023-36479CVE-2023-37276CVE-2023-38037 Red Hat Updated 24 November 2026
  • RHSA-2024:2132

    Red Hat Security Advisory: fence-agents security and bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:2348

    Red Hat Security Advisory: python-jinja2 security update

    CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:2733

    Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (openstack-ansible-core) security update

    CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:2968

    Red Hat Security Advisory: fence-agents security and bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHSA-2024:2987

    Red Hat Security Advisory: python27:2.7 security update

    CVE-2022-40897CVE-2022-48560CVE-2022-48565CVE-2023-43804 Red Hat Updated 23 November 2026
  • RHSA-2024:3102

    Red Hat Security Advisory: python-jinja2 security update

    CVE-2024-22195 Red Hat Updated 24 November 2026
  • RHVEX-CVE-2024-22195

    jinja2: HTML attribute injection when passing user input as keys to xmlattr filter

    Moderate CVE-2024-22195 Red Hat Updated 24 November 2026
  • RLSA-2024:2968

    Moderate: fence-agents security and bug fix update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Rocky Linux Updated 4 February 2026
  • RLSA-2024:2987

    Moderate: python27:2.7 security update

    CVE-2022-40897CVE-2022-48560CVE-2022-48565CVE-2023-43804 Rocky Linux Updated 7 May 2025
  • RLSA-2024:3102

    Moderate: python-jinja2 security update

    CVE-2024-22195 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2024:1863-1

    Security update for python-Jinja2

    CVE-2024-22195CVE-2024-34064 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1863-2

    Security update for python-Jinja2

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

    Security update for python-Jinja2

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

    Security update for python-Jinja2

    CVE-2024-22195CVE-2024-34064 SUSE Updated 23 March 2026
  • SUSE-SU-2026:4580-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2024-22195CVE-2025-13836CVE-2026-0864CVE-2026-11940 SUSE Updated 8 October 2026
  • SUSE-SU-2026:4581-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2024-22195CVE-2025-13836CVE-2026-0864CVE-2026-11940 SUSE Updated 8 October 2026
  • SUSE-SU-2026:4582-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2024-22195CVE-2025-13836CVE-2026-0864CVE-2026-11940 SUSE Updated 8 October 2026
  • SUSE-SU-2026:4583-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2024-22195CVE-2025-13836CVE-2026-0864CVE-2026-11940 SUSE Updated 8 October 2026
  • SUSE-SU-2026:4584-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2024-22195CVE-2025-13836CVE-2026-0864CVE-2026-11940 SUSE Updated 8 October 2026
  • SUSE-SU-2026:4585-1

    Security update 5.2.1 for Multi-Linux Manager Client Tools

    CVE-2023-45289CVE-2024-22195CVE-2025-13836CVE-2025-4673 SUSE Updated 8 October 2026
  • 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…

    Moderate CVE-2024-22195 SUSE Updated 20 November 2026
  • UBUNTU-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 Ubuntu Updated 4 February 2026
  • USN-6599-1

    jinja2 vulnerabilities

    CVE-2020-28493CVE-2024-22195 Ubuntu Updated 29 June 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