
CVE catalog
CVE-2026-49825
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 att
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lxml | sid | 6.1.3-1.1 | fixed |
| Debian | lxml | forky | 6.1.3-1 | fixed |
| Debian | lxml | trixie | 5.4.0-1 | vulnerable |
| Debian | lxml | bookworm | 4.9.2-1 | vulnerable |
| Debian | lxml | bookworm-security | 4.9.2-1+deb12u1 | fixed |
| Ubuntu | lxml | noble | 5.2.1-1ubuntu0.2 | fixed |
| Ubuntu | python-lxml-doc | noble | 5.2.1-1ubuntu0.2 | fixed |
| Ubuntu | python3-lxml | noble | 5.2.1-1ubuntu0.2 | fixed |
| Ubuntu | lxml | pro | 4.4.1-1 | vulnerable |
| Ubuntu | lxml | pro | 4.4.1-1build1 | vulnerable |
| Ubuntu | lxml | pro | 4.4.2-1 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1ubuntu0.1 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1ubuntu0.2 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1ubuntu0.3 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1ubuntu0.5 | vulnerable |
| Ubuntu | lxml | pro | 4.5.0-1ubuntu0.5+esm1 | fixed |
| Ubuntu | lxml | 22.04 | 4.6.3+dfsg-0.1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.6.4-1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.6.4-1ubuntu1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.7.1-1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.8.0-1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.8.0-1build1 | vulnerable |
| Ubuntu | lxml | 22.04 | 4.8.0-1ubuntu0.1 | fixed |
| Ubuntu | lxml | 24.04 | 4.9.3-1 | vulnerable |
| Ubuntu | lxml | 24.04 | 4.9.3-1build1 | vulnerable |
| Ubuntu | lxml | 24.04 | 4.9.4-1 | vulnerable |
| Ubuntu | lxml | 24.04 | 5.1.0-1 | vulnerable |
| Ubuntu | lxml | 24.04 | 5.1.0-1build1 | vulnerable |
| Ubuntu | lxml | 24.04 | 5.1.0-1build2 | vulnerable |
| Ubuntu | lxml | 24.04 | 5.2.1-1 | vulnerable |
| Ubuntu | lxml | 24.04 | 5.2.1-1ubuntu0.2 | fixed |
| Ubuntu | lxml | 26.04 | 6.0.1-1 | vulnerable |
| Ubuntu | lxml | 26.04 | 6.0.1-1build1 | vulnerable |
| Ubuntu | lxml | 26.04 | 6.0.2-1 | vulnerable |
| Ubuntu | lxml | 26.04 | 6.0.2-1build1 | vulnerable |
| Ubuntu | lxml | 26.04 | 6.0.2-1ubuntu0.1 | fixed |
| Opensuse | python-lxml_html_clean | tumbleweed | 0.4.5-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lxml | source | sid | 6.1.3-1 | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | forky | 6.1.3-1 | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | bookworm | 4.9.2-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | lxml | deb | noble | 5.2.1-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | python-lxml-doc | deb | noble | 5.2.1-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | python3-lxml | deb | noble | 5.2.1-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | lxml | deb | pro | 4.5.0-1ubuntu0.5+esm1 | Not reported | UBUNTU-CVE-2026-49825 | Not reported |
| Ubuntu | lxml | deb | 22.04 | 4.8.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-49825 | Not reported |
| Ubuntu | lxml | deb | 24.04 | 5.2.1-1ubuntu0.2 | Not reported | UBUNTU-CVE-2026-49825 | Not reported |
| Ubuntu | lxml | deb | 26.04 | 6.0.2-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-49825 | Not reported |
| Opensuse | python-lxml_html_clean | rpm | tumbleweed | 0.4.5-1.1 | Not reported | OPENSUSE-SU-2026:11191-1 | Not reported |
Notes
[trixie] lxml: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-lxml]Affected
Source package: [lxml]
Details (2)
4.9.2-1+b1· amd64 · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
4.9.2-1+b1· arm64 · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
- [python-lxml-doc]Affected
Source package: [lxml]
Details (2)
4.9.2-1· all · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
4.9.2-1· all · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
[Debian 13 (Trixie)]
- [python3-lxml]Affected
Source package: [lxml]
Details (2)
5.4.0-1· amd64 · trixieAffected
nvd · lxml · debian · 13
5.4.0-1· arm64 · trixieAffected
nvd · lxml · debian · 13
- [python3-lxml-html-clean]Affected
Source package: [lxml-html-clean]
Details (2)
0.4.4-1~deb13u1· all · trixieAffected
nvd · lxml-html-clean · debian · 13
0.4.4-1~deb13u1· all · trixieAffected
nvd · lxml-html-clean · debian · 13
- [python-lxml-doc]Affected
Source package: [lxml]
Details (2)
5.4.0-1· all · trixieAffected
nvd · lxml · debian · 13
5.4.0-1· all · trixieAffected
nvd · lxml · debian · 13
[openSUSE Tumbleweed]
- [python313-lxml_html_clean]Unknown
Source package: [python-lxml_html_clean]
Details (1)
0.4.5-1.1· noarch · tumbleweedUnknown · Fixed:
0.4.5-1.1Version impact unknown
nvd · python-lxml_html_clean · opensuse · tumbleweed
- [python314-lxml_html_clean]Unknown
Source package: [python-lxml_html_clean]
Details (1)
0.4.5-1.1· noarch · tumbleweedUnknown · Fixed:
0.4.5-1.1Version impact unknown
nvd · python-lxml_html_clean · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_66203.json]
- [https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2]
- [https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5]
- [https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f]
- [https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0]
- [https://github.com/lxml/lxml/releases/tag/lxml-6.1.1]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-49825]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-49825]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-49825]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11191-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-49825]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49825.json]
- [https://ubuntu.com/security/notices/USN-8897-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3555.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]