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

Configuration 1 (hide)

cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*

History

09 Mar 2026, 20:55

Type Values Removed Values Added
CPE cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*
References () https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b - () https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b - Patch
References () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg - () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg - Exploit, Vendor Advisory
First Time Fedoralovespython
Fedoralovespython lxml Html Clean

09 Mar 2026, 13:36

Type Values Removed Values Added
Summary
  • (es) lxml_html_clean es un proyecto para funcionalidades de limpieza de HTML copiado de 'lxml.html.clean'. Antes de la versión 0.4.4, el método _has_sneaky_javascript() elimina las barras invertidas antes de verificar palabras clave CSS peligrosas. Esto provoca que las secuencias de escape Unicode de CSS omitan los filtros @import y expression(), permitiendo la carga externa de CSS o XSS en navegadores antiguos. Este problema ha sido parcheado en la versión 0.4.4.

06 Mar 2026, 18:16

Type Values Removed Values Added
References () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg - () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg -

05 Mar 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-05 20:16

Updated : 2026-03-09 20:55


NVD link : CVE-2026-28348

Mitre link : CVE-2026-28348

CVE.ORG link : CVE-2026-28348


JSON object : View

Products Affected

fedoralovespython

  • lxml_html_clean
CWE
CWE-116

Improper Encoding or Escaping of Output