CVE-2026-28348
published medium CVSS 3.1 · 6.1lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fedora-python | — | lxml_html_clean< 0.4.4 | Affected | Not stated | GitHub_M |
| Debian | bookworm | lxml | Advisory build | 4.9.2-1+deb12u1 | DLA-4799-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml_html_cleannoarch | Advisory build | 0.4.2-bp160.2.1 | OPENSUSE-SU-2026:20345-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanaarch64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanppc64le | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleans390x | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml_html_cleanx86_64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanaarch64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanppc64le | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleans390x | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml_html_cleanx86_64 | Advisory build | 0.4.4-1.1 | OPENSUSE-SU-2026:10322-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fedora-python | lxml_html_clean | < 0.4.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
2Provider assertions
2GitHub_M · cna
lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4629c1291a3a0e914fdcc2004faf6ff55b7715e63959d570454fcf22d29562bf
- Ingested
- 23 Sep 2026, 09:08:14 UTC
- Source record
- Official CVE record