ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-28348

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12lxml
All versions before 4.9.2-1+deb12u1 (fixed in 4.9.2-1+deb12u1)
Debian:13lxml
All versions before 5.2.0-1 (fixed in 5.2.0-1)
Debian:14lxml
All versions before 5.2.0-1 (fixed in 5.2.0-1)
Debian:13lxml-html-clean
All versions before 0.4.4-1~deb13u1 (fixed in 0.4.4-1~deb13u1)
Debian:14lxml-html-clean
All versions before 0.4.4-1 (fixed in 0.4.4-1)

References