Read the docs
TI-2026-22630 Aliases CVE-2026-28350GHSA-xvp8-3mhv-424c

lxml_html_clean: <base> tag injection through default Cleaner configuration

Priority MEDIUM 60CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00296 22nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed lxml_html_clean (fedora-python): 0.4.4lxml-html-clean (PyPI): 0.4.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
fedora-pythonlxml_html_cleanbefore 0.4.40.4.4Patch availableCNA
—lxml-html-clean (PyPI)before 0.4.40.4.4Patch availableGHSA-xvp8-3mhv-424c
  • lxml_html_clean Vendorfedora-python Affected before 0.4.4 Fixed in 0.4.4 Patch available CNA
  • lxml-html-clean (PyPI) Vendor— Affected before 0.4.4 Fixed in 0.4.4 Patch available GHSA-xvp8-3mhv-424c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*before 0.4.4Vulnerablefedora-python
  • cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:* Versions before 0.4.4 Vulnerable ·fedora-python

Remediation

  • Fix · CNA lxml_html_clean (fedora-python) Fixed in 0.4.4
  • Fix · GHSA-xvp8-3mhv-424c lxml-html-clean (PyPI) Fixed in 0.4.4 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-28350
  2. 2026-10-03 Alias added: GHSA-xvp8-3mhv-424c

References

  • TI-2026-22629 lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes CVSS 3.1MEDIUM 6.1
  • TI-2024-35255 HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through CVSS 3.1HIGH 7.7

Sources