# CVE-2026-28348: lxml-html-clean: lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`

CVE-2026-28348 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2026-28348, released March 5, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-28348
- Priority: Routine
- CVSS: 6.1 (medium)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 5, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lxml Debian 12.15 (bookworm) | 4.9.2-1+deb12u1 | [DEBIAN-CVE-2026-28348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-28348.md) | Mar 5, 2026 |
| Linux | lxml Debian 13.5 (trixie) | 5.2.0-1 | [DEBIAN-CVE-2026-28348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-28348.md) | Mar 5, 2026 |
| Linux | lxml Debian 14 | 5.2.0-1 | [DEBIAN-CVE-2026-28348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-28348.md) | Mar 5, 2026 |
| Linux | lxml-html-clean Debian 13.5 (trixie) | 0.4.4-1~deb13u1 | [DEBIAN-CVE-2026-28348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-28348.md) | Mar 5, 2026 |
| Linux | lxml-html-clean Debian 14 | 0.4.4-1 | [DEBIAN-CVE-2026-28348](https://patchblox.com/security/data/fix/linux/debian-cve-2026-28348.md) | Mar 5, 2026 |
| Linux | python-lxml_html_clean opensuse-leap 16.0 | 0.4.2-bp160.2.1 | [OPENSUSE-SU-2026:20345-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20345-1.md) | Mar 11, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
