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.
References
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Medium Risk
10 hours ago
lxml_html_clean: Cleaner(safe_attrs_only=False) keeps javascript: in iframe srcdoc and SVG animation values
0.1.0 - 0.4.6 GHSA-5gvf-7wqf-r4cv
0.1.0 - 0.4.6 GHSA-5gvf-7wqf-r4cv
Medium Risk
10 hours ago
lxml_html_clean: Cleaner(comments=False) keeps a comment that closes <noscript> in the browser, which allows XSS
0.1.0 - 0.4.6 GHSA-vfhw-gfwp-vxfj
0.1.0 - 0.4.6 GHSA-vfhw-gfwp-vxfj
High Risk
4 months ago
`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
0.1.0 - 0.4.4 PYSEC-2026-2614
0.1.0 - 0.4.4 PYSEC-2026-2614
High Risk
4 months ago
`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
0.1.0 - 0.4.4 GHSA-4jhm-jv67-739f
0.1.0 - 0.4.4 GHSA-4jhm-jv67-739f
Medium Risk
9 months ago
No summary available
0.1.0 - 0.4.3 PYSEC-2026-2202
0.1.0 - 0.4.3 PYSEC-2026-2202
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