CVE-2026-28350

lxml_html_clean: <base> tag injection through default Cleaner configuration

Published Mar 5, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4799-1 lxml security update
Github GHSA Github GHSA GHSA-xvp8-3mhv-424c lxml-html-clean has <base> tag injection through default Cleaner configuration
History
Type Values Removed Values Added
First Time appeared Fedoralovespython
Fedoralovespython lxml Html Clean
CPEs cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*
Vendors & Products Fedoralovespython
Fedoralovespython lxml Html Clean
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Fedora-python
Fedora-python lxml Html Clean
Vendors & Products Fedora-python
Fedora-python lxml Html Clean
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 6, 2026, 5:05 PM
Reserved
Feb 26, 2026, 6:38 PM
Status
Analyzed
Published
Mar 5, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:28 AM