NetSight
high8.2

CVE-2026-49825

`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
piplxml_html_clean< 0.4.50.4.5

Weakness classification

References