AZL-35134
Dashboard / Vulnerabilities / AZL-35134
Summary: CVE-2024-22195 affecting package python-jinja2 for versions less than 3.1.2-2
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2024-22195
Affected packages
Package
Name: python-jinja2
Purl: pkg:rpm/azure-linux/python-jinja2
Affected ranges
Type: ECOSYSTEM
Events:
