| Name | CVE-2026-49825 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| lxml (PTS) | bullseye (security), bullseye | 4.6.3+dfsg-0.1+deb11u1 | vulnerable |
| bookworm | 4.9.2-1 | vulnerable |
| trixie | 5.4.0-1 | vulnerable |
| forky, sid | 6.1.0-1 | vulnerable |
| lxml-html-clean (PTS) | trixie | 0.4.4-1~deb13u1 | vulnerable |
| forky, sid | 0.4.5-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| lxml | source | (unstable) | (unfixed) | | | |
| lxml-html-clean | source | (unstable) | (unfixed) | | | |
Notes
https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f
Fixed by: https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0 (lxml-6.1.1)
lxml-html-clean was split out of lxml in 5.2.0
Code fix in src:lxml, lxml-html-clean will require bumped dependency on lxml >= 6.1.1