CVE-2026-49825: lxml: javascript: URL bypass in Cleaner via xlink:href
Vulnerability summary
CVE-2026-49825 is a high (CVSS 8.2) vulnerability in fedora-python lxml_html_clean. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24% of scored vulnerabilities.
Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 9Timeline
- 20-08-2026PublishedVulnerability first disclosed.
- 21-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · Red hatEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page GenerationThe product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-184Incomplete List of Disallowed InputsThe product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat9 products
- python-lxml< 0:4.6.5-3.el9_8.1 | < 0:4.6.5-3.el9_6.1 | < 0:4.6.5-3.el9_4.1 | < 0:4.6.5-3.el9_2.1 | < 0:4.2.3-5.el8_10 | < 0:4.2.3-4.el8_6.1 | < 0:4.2.3-4.el8_8.1 | < 0:4.2.3-2.el8_4.1 | < 0:3.2.1-4.el7_9.1 | < 0:2.2.3-1.2.el6_10
- python-lxml-debuginfo< 0:3.2.1-4.el7_9.1 | < 0:2.2.3-1.2.el6_10
- python-lxml-debugsource< 0:4.6.5-3.el9_8.1 | < 0:4.6.5-3.el9_6.1 | < 0:4.6.5-3.el9_4.1 | < 0:4.6.5-3.el9_2.1 | < 0:4.2.3-5.el8_10 | < 0:4.2.3-4.el8_6.1 | < 0:4.2.3-4.el8_8.1 | < 0:4.2.3-2.el8_4.1
- python-lxml-docs< 0:3.2.1-4.el7_9.1
- python3-lxml< 0:4.6.5-3.el9_8.1 | < 0:4.6.5-3.el9_6.1 | < 0:4.6.5-3.el9_4.1 | < 0:4.6.5-3.el9_2.1 | < 0:4.2.3-5.el8_10 | < 0:4.2.3-4.el8_6.1 | < 0:4.2.3-4.el8_8.1 | < 0:4.2.3-2.el8_4.1
Debian2 products
- lxml< 4.9.2-1+deb12u1 | All versions (No fix recorded) | < 6.1.3-1
- lxml-html-cleanAll versions (No fix recorded) | < 0.4.5-1
Fedora-python1 product
- lxml_html_clean< 0.4.5
Lxml1 product
- lxml< 6.1.1
Opensuse1 product
- python-lxml_html_clean&distro=openSUSE Tumbleweed< 0.4.5-1.1
PyPI1 product
- lxml-html-clean< 0.4.5
Ubuntu1 product
- lxml< 3.3.3-1ubuntu0.2+esm6 | < 3.5.0-1ubuntu0.4+esm3 | < 4.2.1-1ubuntu0.6+esm1 | < 4.5.0-1ubuntu0.5+esm1 | < 4.8.0-1ubuntu0.1 | < 5.2.1-1ubuntu0.2 | < 6.0.2-1ubuntu0.1
7 vendors · 16 products
References
43 links- github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739fX Refsource CONFIRMWEBARTICLE
- github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2X Refsource MISCARTICLE