CVE-2026-49825Published Aug 20, 2026 · Aug 20Updated Nov 11
lxml: javascript: URL bypass in Cleaner via xlink:href
lxml · fedora-python lxml_html_clean
High8.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lxml-html-clean PyPI |
|
|
Original 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.
From the CVE record · GitHub_M