CVE-2026-28348 PUBLISHED

lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes

Assigner: GitHub_M
Reserved: 26.02.2026 Published: 05.03.2026 Updated: 06.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS Score: 6.1

Product Status

Vendor fedora-python
Product lxml_html_clean
Versions
  • Version < 0.4.4 is affected

References

Problem Types

  • CWE-116: Improper Encoding or Escaping of Output CWE