Home

Description

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.

PUBLISHED Reserved 2026-02-26 | Published 2026-03-05 | Updated 2026-03-06 | Assigner GitHub_M




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

Problem types

CWE-116: Improper Encoding or Escaping of Output

Product status

< 0.4.4
affected

References

github.com/..._clean/security/advisories/GHSA-hw26-mmpg-fqfg exploit

github.com/..._clean/security/advisories/GHSA-hw26-mmpg-fqfg

github.com/...ommit/2ef732667ddbc74ea59847bcf24b75809aaeed3b

cve.org (CVE-2026-28348)

nvd.nist.gov (CVE-2026-28348)

Download JSON