{"id":"UBUNTU-CVE-2026-28348","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.","modified":"2026-05-20T16:24:53.176863727Z","published":"2026-03-05T20:16:00Z","upstream":["CVE-2026-28348"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-28348"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-28348"},{"type":"REPORT","url":"https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b"},{"type":"REPORT","url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg"}],"affected":[{"package":{"name":"lxml-html-clean","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lxml-html-clean?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.0-0ubuntu1","0.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.1-1","binary_name":"python3-lxml-html-clean"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28348.json"}},{"package":{"name":"lxml-html-clean","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/lxml-html-clean?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.4.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.2-1","binary_name":"python3-lxml-html-clean"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28348.json"}},{"package":{"name":"lxml-html-clean","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lxml-html-clean?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.2-1","0.4.3-1","0.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.4-1","binary_name":"python3-lxml-html-clean"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28348.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}