USN-4896-1: lxml vulnerability

Publication date

30 March 2021

Overview

lxml could allow cross-site scripting (XSS) attacks.


Packages

  • lxml - pythonic binding for the libxml2 and libxslt libraries

Details

It was discovered that lxml incorrectly handled certain HTML attributes. A
remote attacker could possibly use this issue to perform cross-site
scripting (XSS) attacks.

It was discovered that lxml incorrectly handled certain HTML attributes. A
remote attacker could possibly use this issue to perform cross-site
scripting (XSS) attacks.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.10 groovy python3-lxml –  4.5.2-1ubuntu0.4
20.04 focal python-lxml –  4.5.0-1ubuntu0.3
python3-lxml –  4.5.0-1ubuntu0.3
18.04 bionic python-lxml –  4.2.1-1ubuntu0.4
python3-lxml –  4.2.1-1ubuntu0.4
16.04 xenial python-lxml –  3.5.0-1ubuntu0.4
python3-lxml –  3.5.0-1ubuntu0.4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›