Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2026-28350

lxml_html_clean: <base> tag injection through default Cleaner configuration

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

fedora-python lxml_html_clean

  • < 0.4.4affected

References