Generated remediation guidance and an executive summary. No account required.
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.
Cite this page
CVE-2024-22195. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2024-22195
Use CWE-79, Palletsprojects vendor hub and Jinja product page to widen CVE-2024-22195 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2016-10745, CVE-2019-10906 and CVE-2025-27516 for nearby disclosures in the same product family.