CVE-2026-28350 lxml_html_clean: <base> tag injection through default Cleaner configuration
MediumCVSS 6.1
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 7 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/lxml-html-clean(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/lxml-html-clean(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/lxml-html-clean(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/lxml(Debian 12) | < 4.9.2-1+deb12u1; = 4.9.2-1 | 4.9.2-1+deb12u1 | Fixed |
| debian/lxml(Debian 13) | < 5.2.0-1 | 5.2.0-1 | Fixed |
| debian/lxml(Debian 14) | < 5.2.0-1 | 5.2.0-1 | Fixed |
| debian/lxml-html-clean(Debian 13) | < 0.4.4-1~deb13u1; = 0.4.2-1; = 0.4.3-1 | 0.4.4-1~deb13u1 | Fixed |
| debian/lxml-html-clean(Debian 14) | < 0.4.4-1; = 0.4.2-1; = 0.4.3-1; = 0.4.4-1~deb13u1 | 0.4.4-1 | Fixed |
| fedoralovespython lxml html clean | < 0.4.4 | 0.4.4 | Fixed |
| pypi lxml-html-clean(PyPI) | < 0.4.4; <= 0.4.3; = 0.1.0; = 0.1.1 +9 more | 0.4.4 | Fixed |
| fedora-python lxml_html_clean | = < 0.4.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lxml-html-clean(PyPI) | < 0.4.4 | 0.4.4 |
| pypi lxml-html-clean(PyPI) | = 0.1.0 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.1.1 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.2.0 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.2.1 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.2.2 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.3.0 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.3.1 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.4.0 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.4.1 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.4.2 | No fix listed |
| pypi lxml-html-clean(PyPI) | = 0.4.3 | No fix listed |
| fedora-python lxml_html_clean | = < 0.4.4 | No fix listed |
| pypi lxml-html-clean(PyPI) | <= 0.4.3 | No fix listed |
| debian/lxml(Debian:12) | < 4.9.2-1+deb12u1 | 4.9.2-1+deb12u1 |
| debian/lxml(Debian:12) | = 4.9.2-1 | No fix listed |
| debian/lxml(Debian:13) | < 5.2.0-1 | 5.2.0-1 |
| debian/lxml(Debian:14) | < 5.2.0-1 | 5.2.0-1 |
| debian/lxml-html-clean(Debian:13) | < 0.4.4-1~deb13u1 | 0.4.4-1~deb13u1 |
| debian/lxml-html-clean(Debian:13) | = 0.4.2-1 | No fix listed |
| debian/lxml-html-clean(Debian:13) | = 0.4.3-1 | No fix listed |
| debian/lxml-html-clean(Debian:14) | < 0.4.4-1 | 0.4.4-1 |
| debian/lxml-html-clean(Debian:14) | = 0.4.2-1 | No fix listed |
| debian/lxml-html-clean(Debian:14) | = 0.4.3-1 | No fix listed |
| debian/lxml-html-clean(Debian:14) | = 0.4.4-1~deb13u1 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/lxml-html-clean(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/lxml-html-clean(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/lxml-html-clean(Ubuntu:26.10) | All versions | No fix listed |
| fedoralovespython lxml html clean | < 0.4.4 | 0.4.4 |
References
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34 patch
- github.com product
- github.com
- Debian Security Tracker CVE-2026-28350 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org