Jinja2 is one of the most used template engines for Python. It is inspired by Django's templating system but extends it with an expressive language that gives template authors a more powerful set of tools. On top of that it adds sandboxed execution and optional automatic escaping for applications where security is important.
Security Fix(es):
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.
(CVE-2024-22195)
{ "severity": "Medium" }
{ "noarch": [ "python3-jinja2-3.0.3-3.oe2203.noarch.rpm", "python-jinja2-help-3.0.3-3.oe2203.noarch.rpm", "python3-jinja2-3.0.3-3.oe2203sp1.noarch.rpm", "python-jinja2-help-3.0.3-3.oe2203sp1.noarch.rpm", "python3-jinja2-3.0.3-3.oe2203sp2.noarch.rpm", "python-jinja2-help-3.0.3-3.oe2203sp2.noarch.rpm", "python3-jinja2-3.0.3-3.oe2203sp3.noarch.rpm", "python-jinja2-help-3.0.3-3.oe2203sp3.noarch.rpm" ], "src": [ "python-jinja2-3.0.3-3.oe2203.src.rpm", "python-jinja2-3.0.3-3.oe2203sp1.src.rpm", "python-jinja2-3.0.3-3.oe2203sp2.src.rpm", "python-jinja2-3.0.3-3.oe2203sp3.src.rpm" ] }