CVE-2026-28348
CVE-2026-28348 · lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.1 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Affected products and versions
lxml_html_clean
- Versions
- < 0.4.4: Affected
No fix published
lxml Debian:12
- Versions
- 4.9.2-1
- Affected ranges
- ECOSYSTEM: < 4.9.2-1+deb12u1
Update to 4.9.2-1+deb12u1
lxml Debian:13
- Affected ranges
- ECOSYSTEM: < 5.2.0-1
Update to 5.2.0-1
lxml Debian:14
- Affected ranges
- ECOSYSTEM: < 5.2.0-1
Update to 5.2.0-1
lxml-html-clean Debian:13
- Versions
- 0.4.2-1
- 0.4.3-1
- Affected ranges
- ECOSYSTEM: < 0.4.4-1~deb13u1
Update to 0.4.4-1~deb13u1
lxml-html-clean Debian:14
- Versions
- 0.4.2-1
- 0.4.3-1
- 0.4.4-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 0.4.4-1
Update to 0.4.4-1
lxml-html-clean PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.2.0
- 0.2.1
- 0.2.2
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- Affected ranges
- ECOSYSTEM: < 0.4.4
Update to 0.4.4
lxml-html-clean Ubuntu:24.04:LTS
- Versions
- 0.1.0-0ubuntu1
- 0.1.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
lxml-html-clean Ubuntu:25.10
- Versions
- 0.4.1-1
- 0.4.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
lxml-html-clean Ubuntu:26.10
- Versions
- 0.4.4-1
- 0.4.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
lxml-html-clean Ubuntu:26.04:LTS
- Versions
- 0.4.2-1
- 0.4.3-1
- 0.4.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published