{"id":"CVE-2026-28348","summary":"lxml_html_clean: CSS @import Filter Bypass via Unicode Escapes","details":"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.","aliases":["GHSA-hw26-mmpg-fqfg","PYSEC-2026-2201"],"modified":"2026-08-12T03:51:48.811998266Z","published":"2026-03-05T19:49:26.385Z","related":["CGA-75rj-3cgf-pf8f","openSUSE-SU-2026:10322-1","openSUSE-SU-2026:20345-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-116"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28348.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28348.json"},{"type":"ADVISORY","url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28348"},{"type":"FIX","url":"https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fedora-python/lxml_html_clean","events":[{"introduced":"0"},{"fixed":"fd10d79cf8a4d4a962e139aee6d02dec02b2de7c"},{"fixed":"2ef732667ddbc74ea59847bcf24b75809aaeed3b"}],"database_specific":{"cpe":"cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.4.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.4.3","0.4.2","0.4.1","0.4.0","0.3.1","0.3.0","0.2.2","0.2.1","0.2.0","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28348.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}