Vulnerability PYSEC-2026-2201

Medium Risk
MEDIUM RISK
CVSS Score: 6.1
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
9 months ago
March 05, 2026 at 08:16 PM UTC
No summary available
0.1.0 - 0.4.3
0.1.0 - 0.4.3

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.

Impacted packages

Timeline

Published
9 months ago
March 05, 2026 at 08:16 PM UTC
Fixed (0.4.4)
9 months ago
February 27, 2026 at 09:35 AM UTC
Last Modified
4 months ago
July 13, 2026 at 07:15 AM UTC