# CVE-2026-28350: lxml\_html\_clean: \<base\> tag injection through default Cleaner configuration

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-05 · Modified: 2026-03-06
- Aliases: GHSA-xvp8-3mhv-424c, PYSEC-2026-2202, UBUNTU-CVE-2026-28350, DEBIAN-CVE-2026-28350, CGA-cp7x-wjpf-36g8, CGA-f8hw-cjr6-hfpr
- Record: https://cvemate.com/vulnerability/CVE-2026-28350 · JSON: https://cvemate.com/vulnerability/CVE-2026-28350/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.303%, percentile 24.868%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard label-studio (Chainguard): \< 1.22.0-r7
- debian lxml (Debian): \< 4.9.2-1+deb12u1 \| \< 5.2.0-1
- debian lxml-html-clean (Debian): \< 0.4.4-1~deb13u1 \| \< 0.4.4-1
- ubuntu lxml-html-clean (Ubuntu): All versions (No fix recorded)
- fedora-python lxml\_html\_clean: \< 0.4.4
- fedoralovespython lxml\_html\_clean: \< 0.4.4
- PyPI lxml-html-clean (PyPI): \< 0.4.4

## References

- <https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c>
- <https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28350>
- <https://github.com/fedora-python/lxml_html_clean>
- <https://ubuntu.com/security/CVE-2026-28350>
- <https://www.cve.org/CVERecord?id=CVE-2026-28350>
- <https://security-tracker.debian.org/tracker/CVE-2026-28350>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28350.json>

---

Data as of 2026-12-05T06:33:28.374Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
