CVE catalog

CVE-2026-28348

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 dangero

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlxmlsid6.1.3-1.1fixed
Debianlxmlforky6.1.3-1fixed
Debianlxmltrixie5.4.0-1fixed
Debianlxmlbookworm4.9.2-1vulnerable
Debianlxmlbookworm-security4.9.2-1+deb12u1fixed
Piplxml-html-cleanNot reported0.4.4fixed
CpelxmlNot reportedNot reportedvulnerable
Opensusepython-lxml_html_cleantumbleweed0.4.4-1.1fixed
Opensusepython-lxml_html_cleanleap 16.00.4.2-bp160.2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlxmlsourcesid5.2.0-1not yet assignedNot reportedNot reported
Debianlxmlsourceforky5.2.0-1not yet assignedNot reportedNot reported
Debianlxmlsourcetrixie5.2.0-1not yet assignedNot reportedNot reported
Debianlxmlsourcebookworm4.9.2-1+deb12u1not yet assignedNot reportedNot reported
Piplxml-html-cleanpipNot reported0.4.4Not reportedNot reportedNot reported
Opensusepython-lxml_html_cleanrpmtumbleweed0.4.4-1.1Not reportedOPENSUSE-SU-2026:10322-1Not reported
Opensusepython-lxml_html_cleanrpmleap 16.00.4.2-bp160.2.1Not reportedOPENSUSE-SU-2026:20345-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-lxml]Affected

    Source package: [lxml]

    Details (2)
    • 4.9.2-1+b1 · amd64 · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

    • 4.9.2-1+b1 · arm64 · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

  • [python-lxml-doc]Affected

    Source package: [lxml]

    Details (2)
    • 4.9.2-1 · all · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

    • 4.9.2-1 · all · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

[openSUSE Tumbleweed]

[Debian 13 (Trixie)]

  • Source package: [lxml]

    Details (2)
    • 5.4.0-1 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

    • 5.4.0-1 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

  • Source package: [lxml-html-clean]

    Details (2)
    • 0.4.4-1~deb13u1 · all · trixie

      Fixed · Fixed: 0.4.4-1~deb13u1

      nvd · lxml-html-clean · debian · 13

    • 0.4.4-1~deb13u1 · all · trixie

      Fixed · Fixed: 0.4.4-1~deb13u1

      nvd · lxml-html-clean · debian · 13

  • Source package: [lxml]

    Details (2)
    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

Observed:

References