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.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.7.2-2ubuntu0.1~esm2", "binary_name": "python-jinja2" }, { "binary_version": "2.7.2-2ubuntu0.1~esm2", "binary_name": "python-jinja2-doc" }, { "binary_version": "2.7.2-2ubuntu0.1~esm2", "binary_name": "python3-jinja2" } ] }
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.8-1ubuntu0.1+esm2", "binary_name": "python-jinja2" }, { "binary_version": "2.8-1ubuntu0.1+esm2", "binary_name": "python-jinja2-doc" }, { "binary_version": "2.8-1ubuntu0.1+esm2", "binary_name": "python3-jinja2" } ] }
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.10-1ubuntu0.18.04.1+esm1", "binary_name": "python-jinja2" }, { "binary_version": "2.10-1ubuntu0.18.04.1+esm1", "binary_name": "python-jinja2-doc" }, { "binary_version": "2.10-1ubuntu0.18.04.1+esm1", "binary_name": "python3-jinja2" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.10.1-2ubuntu0.2", "binary_name": "python-jinja2" }, { "binary_version": "2.10.1-2ubuntu0.2", "binary_name": "python-jinja2-doc" }, { "binary_version": "2.10.1-2ubuntu0.2", "binary_name": "python3-jinja2" } ] }