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.
References6
- github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf8…
- github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5
- github.com/fedora-python/lxml_html_clean/security/advisories/GH…
- github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255c…
- github.com/lxml/lxml/releases/tag/lxml-6.1.1
- github.com/fedora-python/lxml_html_clean/security/advisories/GH…
Metrics
- CVSS 3.1
-
8.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - EPSS — exploit probability
- 0% percentile: 23 · as of 10 November 2026
- CWE
- CWE-79CWE-184
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.