ADVISORIES

Vulnerability

CVE-2026-49825

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.

42 advisories report this vulnerability, across 12 ecosystems.

Advisories in PyPI

  • GHSA-4jhm-jv67-739f

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

    High CVE-2026-49825 PyPI Updated 13 July 2026
  • PYSEC-2026-2614

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

    CVE-2026-49825 PyPI Updated 13 July 2026

References