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.

Project Subscriptions

Vendors Products
Fedora-python Subscribe
Lxml Html Clean Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xvp8-3mhv-424c lxml-html-clean has <base> tag injection through default Cleaner configuration
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 06 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 06 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Fedora-python
Fedora-python lxml Html Clean
Vendors & Products Fedora-python
Fedora-python lxml Html Clean

Thu, 05 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title lxml_html_clean: <base> tag injection through default Cleaner configuration
Weaknesses CWE-116
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-06T17:05:13.841Z

Reserved: 2026-02-26T18:38:13.890Z

Link: CVE-2026-28350

cve-icon Vulnrichment

Updated: 2026-03-06T17:04:58.691Z

cve-icon NVD

Status : Received

Published: 2026-03-05T20:16:16.333

Modified: 2026-03-06T18:16:18.290

Link: CVE-2026-28350

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-06T15:01:10Z

Weaknesses