Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.1

lxml_html_clean: Unpatched <base> tag lets attackers hijack links

UBUNTU-CVE-2026-28350
Summary

An attacker can inject a <base> tag into a web page and hijack relative links. This happened because the lxml_html_clean library didn't properly handle the <base> tag until version 0.4.4. Update to version 0.4.4 or later to fix the issue.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versionsFix available
canonical lxml-html-clean All versions
canonical lxml-html-clean All versions
Original title
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_str...
Original description
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.
osv CVSS3.1 6.1
Published: 6 Mar 2026 · Updated: 13 Mar 2026 · First seen: 9 Mar 2026