lxml_html_clean: <base> tag injection through default Cleaner configuration
Summary
lxml_html_clean: <base> tag injection through default Cleaner configuration
Original description
The description as published by the source.
lxml_html_clean is a project for HTML cleaning functionalities copied from lxml.html.clean. Prior to version 0.4.4, the tag passes through the default Cleaner configuration. While page_structure=True removes html, head, and title tags, there is no specific handling for , allowing an attacker to inject it and hijack relative links on the page. This issue has been patched in version 0.4.4.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-28350 lxml-html-clean Fixed in: 0.4.4-1~deb13u1
- Ubuntu UBUNTU-CVE-2026-28350 lxml-html-clean
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com