Live threats

All CVEs / Fedoralovespython

CVE-2026-28348Fedoralovespython Lxml Html Clean

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Mar 5, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.4, the _has_sneaky_javascript() method strips backslashes before checking for dangerous CSS keywords. This causes CSS Unicode escape sequences to bypass the @import and expression() filters, allowing external CSS loading or XSS in older browsers. This issue has been patched in version 0.4.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxml Html Clean.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lxml-html-clean < 0.4.4 0.4.4 pip install "lxml-html-clean>=0.4.4"
PyPI lxml-html-clean < 0.4.4 0.4.4 pip install "lxml-html-clean>=0.4.4"

Per OSV / GitHub Advisories (GHSA-hw26-mmpg-fqfg, PYSEC-2026-2201). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fedoralovespythonlxml_html_clean< 0.4.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.