Findings

CVE-2026-28348

lxml_html_clean is a project for HTML cleaning functionalities copied from .

Published Mar 5, 2026 · updated Jun 17, 2026 · fedoralovespython lxml html clean

lxml_html_clean is a project for HTML cleaning functionalities copied from . 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.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 5, 2026 · NIST NVD

    Detected

    lxml_html_clean is a project for HTML cleaning functionalities copied from . 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.

  2. Jun 17, 2026 · NIST NVD

    Updated

    lxml_html_clean is a project for HTML cleaning functionalities copied from . 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.

Affected

  • cpe fedoralovespython/lxml html cleanversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-28348

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-28348

    lxml_html_clean is a project for HTML cleaning functionalities copied from . 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

    nvd.nist.gov

References