# CVE-2026-28348: lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-02T19:19:15.000Z
- Modified: 2026-09-10T03:50:39.674Z
- Also known as: GHSA-hw26-mmpg-fqfg, PYSEC-2026-2201
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- fedora-python lxml_html_clean: < 0.4.4
- lxml-html-clean (PyPI): before 0.4.4
- fedoralovespython lxml_html_clean: before 0.4.4

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg> (exploit, evidence, vendor-advisory, web)
- <https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28348> (advisory)
- <https://github.com/fedora-python/lxml_html_clean> (package)

## Sources

- CVE List: [CVE-2026-28348](https://www.cve.org/CVERecord?id=CVE-2026-28348), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-hw26-mmpg-fqfg](https://github.com/advisories/GHSA-hw26-mmpg-fqfg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-28348](https://nvd.nist.gov/vuln/detail/CVE-2026-28348), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2201](https://osv.dev/vulnerability/PYSEC-2026-2201), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-28348 · Whole record: https://cve.day/CVE-2026-28348.json · Rebuilt by cve.day 2026-11-25T22:59:15.334Z
