USN-6787-1
It was discovered that Jinja2 incorrectly handled certain HTML attributes that were accepted by the xmlattr filter. An attacker could use this issue to inject arbitrary HTML attribute keys and values to potentially execute a cross-site scripting (XSS) attack. Update Instructions: Run `sudo pro fix USN-6787-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-jinja2 - 2.10.1-2ubuntu0.3 python-jinja2-doc - 2.10.1-2ubuntu0.3 python3-jinja2 - 2.10.1-2ubuntu0.3 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC
Upstream Advisory
Affected Packages
python-jinja2 2.10.1-2ubuntu0.3-2.10.1-2ubuntu0.3
python-jinja2-doc 2.10.1-2ubuntu0.3-2.10.1-2ubuntu0.3
python3-jinja2 2.10.1-2ubuntu0.3-2.10.1-2ubuntu0.3
python-jinja2-doc 3.1.2-1ubuntu1.1-3.1.2-1ubuntu1.1
python3-jinja2 3.1.2-1ubuntu1.1-3.1.2-1ubuntu1.1
python-jinja2-doc 3.0.3-1ubuntu0.2-3.0.3-1ubuntu0.2
python3-jinja2 3.0.3-1ubuntu0.2-3.0.3-1ubuntu0.2