Lxml
lxml: javascript: URL bypass in Cleaner via xlink:href
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
lxml lxml
- < 6.1.1
Fixed in 6.1.1
fedora-python lxml_html_clean
- < 0.4.5
Fixed in 0.4.5
Mitigation
Upgrade lxml to 6.1.1 or later.
Upgrade lxml_html_clean to 0.4.5 or later.
References
- Vendor advisory github.com/fedora-python/lxml_html_clean/secur…
- Patch github.com/fedora-python/lxml_html_clean/commi…
- Patch github.com/lxml/lxml/commit/5927a6d5e851845140…
2 more
- Release notes github.com/fedora-python/lxml_html_clean/relea…
- Release notes github.com/lxml/lxml/releases/tag/lxml-6.1.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.