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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-01-11T02:25:44.239Z

Updated: 2024-08-01T22:35:34.831Z

Reserved: 2024-01-08T04:59:27.371Z

Link: CVE-2024-22195

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2024-01-11T03:15:11.200

Modified: 2024-01-27T03:15:08.043

Link: CVE-2024-22195

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-01-11T00:00:00Z

Links: CVE-2024-22195 - Bugzilla