PYSEC-2026-2201

En bref

Publiée
Mise à jour
CVE
CVE-2026-28348
Alias
GHSA-hw26-mmpg-fqfg
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Paquets affectés

PaquetVersions
PyPI · lxml-html-cleanintroduced 0, fixed 0.4.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database