ADVISORIES

Vulnerability

CVE-2026-28348

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.

9 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-72qq-h7m4-6rqc
    CVE-2026-28348 Chainguard Updated 5 November 2026
  • CGA-v699-w6xm-cgp5
    CVE-2026-28348 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-28348

    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.…

    CVE-2026-28348 Debian Updated 1 October 2026
  • DLA-4799-1

    lxml - security update

    CVE-2026-28348CVE-2026-28350CVE-2026-41066CVE-2026-49825 Debian Updated 20 November 2026
  • GHSA-hw26-mmpg-fqfg

    lxml-html-clean has CSS @import Filter Bypass via Unicode Escapes

    Moderate CVE-2026-28348 PyPI Updated 10 September 2026
  • PYSEC-2026-2201

    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.…

    CVE-2026-28348 PyPI Updated 13 July 2026
  • UBUNTU-CVE-2026-28348

    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.…

    CVE-2026-28348 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10322-1

    python311-lxml_html_clean-0.4.4-1.1 on GA media

    CVE-2026-28348CVE-2026-28350 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20345-1

    Security update for python-lxml_html_clean

    CVE-2026-28348CVE-2026-28350 openSUSE Updated 13 March 2026

References