USN-6787-1: Jinja2 vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of USN-6787-1?
The severity of USN-6787-1 is high due to the potential for cross-site scripting (XSS) attacks.
How do I fix USN-6787-1?
To fix USN-6787-1, upgrade to the appropriate remedied version of python3-jinja2 for your specific Ubuntu release.
Which versions of Ubuntu are affected by USN-6787-1?
USN-6787-1 affects multiple versions of Ubuntu, including 14.04, 16.04, 18.04, 20.04, 22.04, 23.10, and 24.04.
What is the cause of the vulnerability in USN-6787-1?
The vulnerability in USN-6787-1 is caused by Jinja2's improper handling of HTML attributes accepted by the xmlattr filter.
Is there a workaround for USN-6787-1?
There is no recommended workaround for USN-6787-1; updating to the fixed version is necessary to mitigate the vulnerability.