CVE-2026-28348: Gptline · lxml-html-clean has CSS @import Filter Bypass via Unicode Escapes
Affects gptlineSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 1.0.8_15 when convenient.
Data as of 4 Dec 2026, 20:15 UTC
- Patch
- Available – fixed in 1.0.8_15, 0.4.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade gptline to 1.0.8_15; lxml-html-clean to 0.4.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
PyPIlxml-html-cleanpkg:pypi/lxml-html-cleanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available in gptline version 1.0.8_15. Users should upgrade to version 1.0.8_15 or later to remediate this issue. No additional mitigation steps are required if the patch is applied.
Description
The gptline lxml-html-clean library contains a vulnerability in its CSS filtering logic that allows bypass of the @import and expression() filters via Unicode escape sequences. This occurs because the method that detects dangerous CSS keywords removes backslashes before matching, enabling attackers to craft CSS that loads external stylesheets or triggers XSS in older browsers like IE. The issue affects versions from 1.0.8_4 up to but not including 1.0.8_15, with a fix available in 1.0.8_15.
References
- github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-hw26-mmpg-fqfg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-28348 (opens in a new tab)
- github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b (opens in a new tab)
- github.com/fedora-python/lxml_html_clean (opens in a new tab)