USN-8897-1
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
Last supporting evidence check: 2026-11-28T04:50:43.236Z 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