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
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-01-11T02:25:44.239Z
Updated: 2024-01-11T02:25:44.239Z
Reserved: 2024-01-08T04:59:27.371Z
Link: CVE-2024-22195
JSON object: View
NVD Information
Status : Modified
Published: 2024-01-11T03:15:11.200
Modified: 2024-01-27T03:15:08.043
Link: CVE-2024-22195
JSON object: View
Redhat Information
No data.
CWE