p PatchFirst

CVE-2026-28350

CVE-2026-28350 · lxml_html_clean: <base> tag injection through default Cleaner configuration

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.1 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • lxml_html_clean

    Versions
    • < 0.4.4: Affected

    No fix published

  • lxml Debian:12

    Versions
    • 4.9.2-1
    Affected ranges
    • ECOSYSTEM: < 4.9.2-1+deb12u1

    Update to 4.9.2-1+deb12u1

  • lxml Debian:13

    Affected ranges
    • ECOSYSTEM: < 5.2.0-1

    Update to 5.2.0-1

  • lxml Debian:14

    Affected ranges
    • ECOSYSTEM: < 5.2.0-1

    Update to 5.2.0-1

  • lxml-html-clean Debian:13

    Versions
    • 0.4.2-1
    • 0.4.3-1
    Affected ranges
    • ECOSYSTEM: < 0.4.4-1~deb13u1

    Update to 0.4.4-1~deb13u1

  • lxml-html-clean Debian:14

    Versions
    • 0.4.2-1
    • 0.4.3-1
    • 0.4.4-1~deb13u1
    Affected ranges
    • ECOSYSTEM: < 0.4.4-1

    Update to 0.4.4-1

  • lxml-html-clean PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.2.0
    • 0.2.1
    • 0.2.2
    • 0.3.0
    • 0.3.1
    • 0.4.0
    • 0.4.1
    • 0.4.2
    • 0.4.3
    Affected ranges
    • ECOSYSTEM: < 0.4.4

    Update to 0.4.4

  • lxml-html-clean Ubuntu:24.04:LTS

    Versions
    • 0.1.0-0ubuntu1
    • 0.1.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lxml-html-clean Ubuntu:25.10

    Versions
    • 0.4.1-1
    • 0.4.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lxml-html-clean Ubuntu:26.10

    Versions
    • 0.4.4-1
    • 0.4.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lxml-html-clean Ubuntu:26.04:LTS

    Versions
    • 0.4.2-1
    • 0.4.3-1
    • 0.4.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →