CVEvulnerability
CVE-2026-28350
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-03-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-116
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.
Affected configurations
• fedoralovespython lxml html clean (< 0.4.4)
Related
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34 Patch
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c Exploit, Vendor Advisory
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c Exploit, Vendor Advisory