Catálogo de CVE

CVE-2026-141555

lxml affected and fixed versions

[Catálogo de CVE]

lxml-html-clean is an HTML cleaning library for Python. Prior to 0.4.7, Cleaner in lxml_html_clean/clean.py configured with comments=False uses kill_conditional_comments to remove conditional comments but retains other comments inside noscript. libxml2 parses the noscript content as markup and retains the comment as a node, while a browser with scripting enabled treats the content as raw text. A closing noscript tag inside a retained comment can terminate the element in the browser, causing following attacker-controlled markup to execute when cleaned HTML is rendered, without a click. The default Cleaner removes all comments, and the same comment outside noscript remains inert. An earlier check for a noscript closing tag applies to style text rather than retained comments. This issue is fixed in 0.4.7.

Gravedad
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.48% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-141555]
Debiantrixielxml5.4.0-1Fixed[CVE-2026-141555]
Debiansidlxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-141555]
Debiansidlxml6.1.3-1.1Fixed[CVE-2026-141555]
Debianforkylxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-141555]
Debianforkylxml6.1.3-1.1Fixed[CVE-2026-141555]
Debian14lxml-html-clean0.4.7-1Fixed[DEBIAN-CVE-2026-141555]
More observations (14)
Distribution / releasePackageVersionStatusSource
Debian13lxml-html-clean0.4.2-1Affected[DEBIAN-CVE-2026-141555]
Debian13lxml-html-clean0.4.3-1Affected[DEBIAN-CVE-2026-141555]
Debian13lxml-html-clean0.4.4-1Affected[DEBIAN-CVE-2026-141555]
Debian13lxml-html-clean0.4.4-1~deb13u1Affected[DEBIAN-CVE-2026-141555]
Debian13lxml-html-clean0.4.5-1Affected[DEBIAN-CVE-2026-141555]
Debian13lxml-html-clean0.4.7-1Affected[DEBIAN-CVE-2026-141555]
Debian14lxml-html-clean0.4.2-1Affected[DEBIAN-CVE-2026-141555]
Debian14lxml-html-clean0.4.3-1Affected[DEBIAN-CVE-2026-141555]
Debian14lxml-html-clean0.4.4-1Affected[DEBIAN-CVE-2026-141555]
Debian14lxml-html-clean0.4.4-1~deb13u1Affected[DEBIAN-CVE-2026-141555]
Debian14lxml-html-clean0.4.5-1Affected[DEBIAN-CVE-2026-141555]
DebianbookwormlxmlNot reportedAffectedDistribution reports no fix[CVE-2026-141555]
Debianbookwormlxml4.9.2-1Affected[CVE-2026-141555]
Debianbookworm-securitylxml4.9.2-1+deb12u1Affected[CVE-2026-141555]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-lxml]Afectada

    Paquete fuente: [lxml]

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

      Afectada

      dsa · lxml · debian · bookworm; pypi · lxml · debian · 12

    • 4.9.2-1+b1 · arm64 · bookworm

      Afectada

      dsa · lxml · debian · bookworm; pypi · lxml · debian · 12

  • [python-lxml-doc]Afectada

    Paquete fuente: [lxml]

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

      Afectada

      dsa · lxml · debian · bookworm; pypi · lxml · debian · 12

    • 4.9.2-1 · all · bookworm

      Afectada

      dsa · lxml · debian · bookworm; pypi · lxml · debian · 12

[Debian 13 (Trixie)]

  • Paquete fuente: [lxml-html-clean]

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

      Afectada

      pypi · lxml-html-clean · debian · 13

    • 0.4.4-1~deb13u1 · all · trixie

      Afectada

      pypi · lxml-html-clean · debian · 13

  • [python3-lxml]Corregida

    Paquete fuente: [lxml]

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

      Corregida · Corregida: 5.2.0-1

      pypi · lxml · debian · 13

    • 5.4.0-1 · arm64 · trixie

      Corregida · Corregida: 5.2.0-1

      pypi · lxml · debian · 13

  • [python-lxml-doc]Corregida

    Paquete fuente: [lxml]

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

      Corregida · Corregida: 5.2.0-1

      pypi · lxml · debian · 13

    • 5.4.0-1 · all · trixie

      Corregida · Corregida: 5.2.0-1

      pypi · lxml · debian · 13

Observado:

Referencias