CVE-2026-28350
lxml-html-clean has <base> tag injection through default Cleaner configuration
6.1
MEDIUM
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2026-28350
To remediate CVE-2026-28350, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 0.4.4 or later
Is CVE-2026-28350 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 0.4.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |