USN-4896-1

Type: Security
Severity: Medium
Published: 2021-03-30
Ubuntu 20.04 LTS (Focal Fossa)

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: Run `sudo pro fix USN-4896-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-lxml - 4.5.0-1ubuntu0.3 python-lxml - 4.5.0-1ubuntu0.3 python-lxml-doc - 4.5.0-1ubuntu0.3 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T07:38:00.106Z UTC.

Upstream Advisory

Affected Packages

  • python3-lxml 4.5.0-1ubuntu0.3-4.5.0-1ubuntu0.3

  • python-lxml 4.5.0-1ubuntu0.3-4.5.0-1ubuntu0.3

  • python-lxml-doc 4.5.0-1ubuntu0.3-4.5.0-1ubuntu0.3

Interested in being alerted when there are new versions of python3-lxml and the other packages? Set up an alert.
USN-4896-1: lxml vulnerability | Package Alert