Debian Security Tracker
DEBIAN-CVE-2026-28350
Details
lxml_html_clean is a project for HTML cleaning functionalities copied from lxml.html.clean. Prior to version 0.4.4, the <base> tag passes through the default Cleaner configuration. While page_structure=True removes html, head, and title tags, there is no specific handling for <base>, allowing an attacker to inject it and hijack relative links on the page. This issue has been patched in version 0.4.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | lxml | All versions before 4.9.2-1+deb12u1 (fixed in 4.9.2-1+deb12u1) |
| Debian:13 | lxml | All versions before 5.2.0-1 (fixed in 5.2.0-1) |
| Debian:14 | lxml | All versions before 5.2.0-1 (fixed in 5.2.0-1) |
| Debian:13 | lxml-html-clean | All versions before 0.4.4-1~deb13u1 (fixed in 0.4.4-1~deb13u1) |
| Debian:14 | lxml-html-clean | All versions before 0.4.4-1 (fixed in 0.4.4-1) |