Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-49825

lxml: javascript: URL bypass in Cleaner via xlink:href

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lxml lxml

  • < 6.1.1affected

fedora-python lxml_html_clean

  • < 0.4.5affected

References