
CVE catalog
CVE-2026-28348
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 dangero
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lxml | sid | 6.1.3-1.1 | fixed |
| Debian | lxml | forky | 6.1.3-1 | fixed |
| Debian | lxml | trixie | 5.4.0-1 | fixed |
| Debian | lxml | bookworm | 4.9.2-1 | vulnerable |
| Debian | lxml | bookworm-security | 4.9.2-1+deb12u1 | fixed |
| Pip | lxml-html-clean | Not reported | 0.4.4 | fixed |
| Cpe | lxml | Not reported | Not reported | vulnerable |
| Opensuse | python-lxml_html_clean | tumbleweed | 0.4.4-1.1 | fixed |
| Opensuse | python-lxml_html_clean | leap 16.0 | 0.4.2-bp160.2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lxml | source | sid | 5.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | forky | 5.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | trixie | 5.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | lxml | source | bookworm | 4.9.2-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Pip | lxml-html-clean | pip | Not reported | 0.4.4 | Not reported | Not reported | Not reported |
| Opensuse | python-lxml_html_clean | rpm | tumbleweed | 0.4.4-1.1 | Not reported | OPENSUSE-SU-2026:10322-1 | Not reported |
| Opensuse | python-lxml_html_clean | rpm | leap 16.0 | 0.4.2-bp160.2.1 | Not reported | OPENSUSE-SU-2026:20345-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-lxml]Affected
Source package: [lxml]
Details (2)
4.9.2-1+b1· amd64 · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
4.9.2-1+b1· arm64 · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
- [python-lxml-doc]Affected
Source package: [lxml]
Details (2)
4.9.2-1· all · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
4.9.2-1· all · bookwormAffected · Fixed:
4.9.2-1+deb12u1nvd · lxml · debian · bookworm; nvd · lxml · debian · 12
[openSUSE Tumbleweed]
- [python313-lxml_html_clean]Unknown
Source package: [python-lxml_html_clean]
Details (1)
0.4.5-1.1· noarch · tumbleweedUnknown · Fixed:
0.4.4-1.1Version impact unknown
nvd · python-lxml_html_clean · opensuse · tumbleweed
- [python314-lxml_html_clean]Unknown
Source package: [python-lxml_html_clean]
Details (1)
0.4.5-1.1· noarch · tumbleweedUnknown · Fixed:
0.4.4-1.1Version impact unknown
nvd · python-lxml_html_clean · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [python3-lxml]Fixed
Source package: [lxml]
Details (2)
5.4.0-1· amd64 · trixieFixed · Fixed:
5.2.0-1nvd · lxml · debian · 13
5.4.0-1· arm64 · trixieFixed · Fixed:
5.2.0-1nvd · lxml · debian · 13
- [python3-lxml-html-clean]Fixed
Source package: [lxml-html-clean]
Details (2)
0.4.4-1~deb13u1· all · trixieFixed · Fixed:
0.4.4-1~deb13u1nvd · lxml-html-clean · debian · 13
0.4.4-1~deb13u1· all · trixieFixed · Fixed:
0.4.4-1~deb13u1nvd · lxml-html-clean · debian · 13
- [python-lxml-doc]Fixed
Source package: [lxml]
Details (2)
5.4.0-1· all · trixieFixed · Fixed:
5.2.0-1nvd · lxml · debian · 13
5.4.0-1· all · trixieFixed · Fixed:
5.2.0-1nvd · lxml · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10322-1.json]
- [https://github.com/advisories/GHSA-hw26-mmpg-fqfg]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-28348]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-28348]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10322-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20345-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-28348]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28348.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]