CVEfocus › CVE database › CVE-2026-49825

CVE-2026-49825lxml: javascript: URL bypass in Cleaner via xlink:href

CVSS 8.2 HighEPSS 0.3% (higher than 15% of CVEs)Published 2026-08-20Updated 2026-08-21Assigner: GitHub_M

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.

CWE-184CWE-79

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
6Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04lxmlFixed6.0.2-1ubuntu0.1UBUNTU-CVE-2026-49825
Ubuntu 24.04lxmlFixed5.2.1-1ubuntu0.2UBUNTU-CVE-2026-49825
Ubuntu 22.04lxmlFixed4.8.0-1ubuntu0.1UBUNTU-CVE-2026-49825
Ubuntu 20.04lxmlFix pending4.5.0-1ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-49825
Ubuntu 18.04lxmlFix pending4.2.1-1ubuntu0.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-49825
Ubuntu 16.04lxmlFix pending3.5.0-1ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-49825
Ubuntu 14.04lxmlFix pending3.3.3-1ubuntu0.2+esm6 (Ubuntu Pro)UBUNTU-CVE-2026-49825
Debian 14lxmlFixed6.1.3-1DEBIAN-CVE-2026-49825
Debian 14lxml-html-cleanFixed0.4.5-1DEBIAN-CVE-2026-49825
Debian 13lxmlFix pendingDEBIAN-CVE-2026-49825
Debian 13lxml-html-cleanFix pendingDEBIAN-CVE-2026-49825
Debian 12lxmlFixed4.9.2-1+deb12u1DEBIAN-CVE-2026-49825
Red Hat Enterprise Linux 10python3-lxmlNot affected
Red Hat Enterprise Linux 10python3.14-lxmlNot affected
Red Hat Enterprise Linux 9python-lxmlFixed0:4.6.5-3.el9_8.1RHSA-2026:66204
Red Hat Enterprise Linux 9python3-lxmlFixed0:4.6.5-3.el9_8.1RHSA-2026:66204
Red Hat Enterprise Linux 9python3.12-lxmlFixed0:4.9.3-2.el9_8.1RHSA-2026:66203
Red Hat Enterprise Linux 9python3.14-lxmlNot affected
Red Hat Enterprise Linux 8python-lxmlFixed0:4.2.3-5.el8_10RHSA-2026:67943
Red Hat Enterprise Linux 8python3-lxmlFixed0:4.2.3-5.el8_10RHSA-2026:67943
AlmaLinux 9python3-lxmlFixed4.6.5-3.el9_8.1ALSA-2026:66204
AlmaLinux 9python3.12-lxmlFixed4.9.3-2.el9_8.1ALSA-2026:66203
AlmaLinux 8python3-lxmlFixed4.2.3-5.el8_10ALSA-2026:67943
Rocky Linux 9python-lxmlFixed0:4.6.5-3.el9_8.1RLSA-2026:66204
Rocky Linux 9python3.12-lxmlFixed0:4.9.3-2.el9_8.1RLSA-2026:66203
Rocky Linux 8python-lxmlFixed0:4.2.3-5.el8_10RLSA-2026:67943
PyPI librarylxml-html-cleanFixed0.4.5PYSEC-2026-2614

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.