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 Red Hat

  • RHBA-2024:0891

    Red Hat Bug Fix Advisory: fence-agents update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 27 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 27 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 27 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 27 November 2026
  • RHBA-2024:1398

    Red Hat Bug Fix Advisory: fence-agents update

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

    Red Hat Bug Fix Advisory: fence-agents update

    CVE-2023-52323CVE-2024-22195 Red Hat Updated 27 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 27 November 2026
  • RHSA-2024:1155

    Red Hat Security Advisory: fence-agents security update

    CVE-2023-45803CVE-2023-52323CVE-2024-22195 Red Hat Updated 27 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 27 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 27 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 27 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 27 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 27 November 2026
  • RHSA-2024:2348

    Red Hat Security Advisory: python-jinja2 security update

    CVE-2024-22195 Red Hat Updated 27 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 27 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 27 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 27 November 2026
  • RHSA-2024:3102

    Red Hat Security Advisory: python-jinja2 security update

    CVE-2024-22195 Red Hat Updated 27 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 26 November 2026

References