Junglewise Threat Intelligence

CVE-2026-28350: PYSEC-2026-2202 - 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

CVE-2026-28350 · Severity: low · CVSS 3.1 · Published 2026-03-05

Technologies: lxml_html_clean (PyPI). Vendors: PyPI.

Executive brief

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

  • PyPI lxml_html_clean

Related threats