CVE-2026-49825

Summary

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 Software

VendorProductVersion RangeStatus
lxmllxml< 6.1.1affected
fedora-pythonlxml_html_clean< 0.4.5affected

Weaknesses

  • CWE-79: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-184: CWE-184: Incomplete List of Disallowed Inputs

References