CVE-2026-28350
published medium CVSS 3.1 · 6.1lxml_html_clean: <base> tag injection through default Cleaner configuration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fedora-python | — | lxml_html_clean< 0.4.4 | Affected | Not stated | GitHub_M |
| Debian | bookworm | lxml | Advisory build | 4.9.2-1+deb12u1 | DLA-4799-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml_html_cleannoarch | Advisory build | 0.4.2-bp160.2.1 | OPENSUSE-SU-2026:20345-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanaarch64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanppc64le | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleans390x | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanx86_64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanaarch64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanppc64le | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleans390x | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanx86_64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fedora-python | lxml_html_clean | < 0.4.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
2Provider assertions
2GitHub_M · cna
lxml_html_clean: <base> tag injection through default Cleaner configuration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 971082fd80d0d95431dfcf636be485b6ebde2203cd322d62832b948404165b2f
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record