USN-8897-1

Type: Security
Severity: Medium
Published: 2026-10-07
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 20.04 LTS (Focal Fossa)

Guillem Lefait discovered that lxml incorrectly handled certain URL attributes. A remote attacker could possibly use this issue to bypass URL sanitization, leading to a cross-site scripting attack. (CVE-2026-49825) Qiu Sihao discovered that lxml incorrectly handled untrusted XML input. A remote attacker could possibly use this issue to read local files and expose sensitive information. This issue was only addressed in Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-41066) Update Instructions: Run `sudo pro fix USN-8897-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-lxml - 5.2.1-1ubuntu0.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 24.04 LTS (Noble Numbat)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2026-10-09T18:54:14.089Z UTC.

Upstream Advisory

Affected Packages

  • python3-lxml 5.2.1-1ubuntu0.2-5.2.1-1ubuntu0.2

  • python3-lxml 4.8.0-1ubuntu0.1-4.8.0-1ubuntu0.1

  • python3-lxml 6.0.2-1ubuntu0.1-6.0.2-1ubuntu0.1

  • python-lxml 4.5.0-1ubuntu0.5+esm1-4.5.0-1ubuntu0.5+esm1

  • python3-lxml 4.5.0-1ubuntu0.5+esm1-4.5.0-1ubuntu0.5+esm1

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