Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:20345-1 2 CVEs

Security update for python-lxml_html_clean

Published Mar 11, 2026 · Updated Mar 13, 2026

Summary

This update for python-lxml_html_clean fixes the following issues:

Changes in python-lxml_html_clean:

- CVE-2026-28348: improper keywords checking can allow external CSS loading (bsc#1259378)
- CVE-2026-28350: lack of base tag handling can allow the hijacking of the resolution of relative URLs (bsc#1259379)

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 python-lxml_html_clean 0.4.2-bp160.2.1

Vulnerabilities 2

  • Medium 6.1

    lxml_html_clean: 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 t…

  • Medium 6.1

    lxml_html_clean: <base> tag injection through default Cleaner configuration

    lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.4, the <base> tag passes through the default Cleaner configuration. While page_structure=True removes html, head, and title tags, there is no sp…

References

  • report
    https://bugzilla.suse.com/1259378
  • report
    https://bugzilla.suse.com/1259379
  • web
    https://www.suse.com/security/cve/CVE-2026-28348
  • web
    https://www.suse.com/security/cve/CVE-2026-28350