Skip to main content
← All vulnerabilities
CVE-2026-28350GHSA-XVP8-3MHV-424CPYSEC-2026-2202

lxml_html_clean: <base> tag injection through default Cleaner configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • fedora-python lxml_html_clean

    fixed in 0.4.4

  • lxml-html-cleanPyPI

    fixed in 0.4.4

References 2

GitHub · fedora-python/lxml_html_clean