CVE-2026-49825
lxml is a library for processing XML and HTML in the Python …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f
- github.com/advisories/GHSA-4jhm-jv67-739f
- github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2
- github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5
- github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0
- github.com/lxml/lxml/releases/tag/lxml-6.1.1
- nvd.nist.gov/vuln/detail/CVE-2026-49825
- cve.org/CVERecord?id=CVE-2026-49825
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.