jinja2 is vulnerable to Cross Site Scripting (XSS). The vulnerability is due the xmlattr
filter accepting keys containing spaces. The attacker can inject arbitrary HTML attribute keys and values, which would potentially lead to XSS.
github.com/pallets/jinja/commit/716795349a41d4983a9a4771f7d883c96ea17be7
github.com/pallets/jinja/releases/tag/3.1.3
github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
lists.debian.org/debian-lts-announce/2024/01/msg00010.html
lists.fedoraproject.org/archives/list/[email protected]/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
lists.fedoraproject.org/archives/list/[email protected]/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
lists.fedoraproject.org/archives/list/[email protected]/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/