Security mailing lists by PureSourceCode

CVE-2026-28348

MEDIUM 6.1CVSS 3.1

lxml-html-clean has CSS @import Filter Bypass via Unicode Escapes

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.

Published
5 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-116
Also known as
GHSA-hw26-mmpg-fqfgPYSEC-2026-2201
Sources
NVDJSONOSV GHSA-hw26-mmpg-fqfgJSONOSV PYSEC-2026-2201JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fedoralovespython lxml_html_clean
cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*
< 0.4.4 0.4.4
OSV PyPI lxml-html-clean < 0.4.4 0.4.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.