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
| Link | Resource |
|---|---|
| https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b | Patch |
| https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg | Exploit Vendor Advisory |
| https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg | Exploit Vendor Advisory |
Configurations
History
09 Mar 2026, 20:55
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:* | |
| References | () https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b - Patch | |
| References | () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg - Exploit, Vendor Advisory | |
| First Time |
Fedoralovespython
Fedoralovespython lxml Html Clean |
09 Mar 2026, 13:36
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
06 Mar 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg - |
05 Mar 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-05 20:16
Updated : 2026-03-09 20:55
NVD link : CVE-2026-28348
Mitre link : CVE-2026-28348
CVE.ORG link : CVE-2026-28348
JSON object : View
Products Affected
fedoralovespython
- lxml_html_clean
CWE
CWE-116
Improper Encoding or Escaping of Output
