CVE-2026-28350Fedoralovespython Lxml Html Clean
Medium 6.1 No auth needed
Follow: this CVE · Fedoralovespython · Fedoralovespython Lxml Html Clean We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Mar 5, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Lxml Html Clean.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lxml-html-clean |
< 0.4.4 |
0.4.4 |
pip install "lxml-html-clean>=0.4.4" |
| PyPI | lxml-html-clean |
< 0.4.4 |
0.4.4 |
pip install "lxml-html-clean>=0.4.4" |
Per OSV / GitHub Advisories (GHSA-xvp8-3mhv-424c, PYSEC-2026-2202). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fedoralovespython | lxml_html_clean | < 0.4.4 |
Official advisories
- Security update for python-lxml_html_clean · SUSE · openSUSE-SU-2026:20345-1 · Mar 11, 2026 Medium
- python311-lxml_html_clean-0.4.4-1.1 on GA media · SUSE · openSUSE-SU-2026:10322-1 · Mar 10, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory