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.
Published:Jan 11, 2024
Last Modified:Nov 3, 2025
EPS:Jan 11, 2024
EPSS Score:0.00093
CVSS Score:5.4
Affected Products
Vendor
Product
Action
Vendor
Palletsprojects
Product
Jinja
Palletsprojects
Jinja
Vendor
Redhat
Product
Ansible Automation Platform
Redhat
Ansible Automation Platform
Vendor
Redhat
Product
Ceph Storage
Redhat
Ceph Storage
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Openstack
Redhat
Openstack
Vendor
Redhat
Product
Rhel Eus
Redhat
Rhel Eus
Vendor
Redhat
Product
Rhui
Redhat
Rhui
Vendor
Redhat
Product
Satellite
Redhat
Satellite
Vendor
Redhat
Product
Satellite Capsule
Redhat
Satellite Capsule
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
