ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-49825

Details

lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in `lxml.html.defs.link_attrs were missing xlink:href`, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSlxml
All versions before 3.3.3-1ubuntu0.2+esm6 (fixed in 3.3.3-1ubuntu0.2+esm6)
Ubuntu:Pro:16.04:LTSlxml
All versions before 3.5.0-1ubuntu0.4+esm3 (fixed in 3.5.0-1ubuntu0.4+esm3)
Ubuntu:Pro:18.04:LTSlxml
All versions before 4.2.1-1ubuntu0.6+esm1 (fixed in 4.2.1-1ubuntu0.6+esm1)
Ubuntu:Pro:20.04:LTSlxml
All versions before 4.5.0-1ubuntu0.5+esm1 (fixed in 4.5.0-1ubuntu0.5+esm1)
Ubuntu:22.04:LTSlxml
All versions before 4.8.0-1ubuntu0.1 (fixed in 4.8.0-1ubuntu0.1)
Ubuntu:24.04:LTSlxml
All versions before 5.2.1-1ubuntu0.2 (fixed in 5.2.1-1ubuntu0.2)
Ubuntu:26.04:LTSlxml
All versions before 6.0.2-1ubuntu0.1 (fixed in 6.0.2-1ubuntu0.1)

References