DEBIAN-CVE-2026-141555

Source
https://security-tracker.debian.org/tracker/CVE-2026-141555
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-141555
Upstream
Published
2026-12-02T21:18:11Z
Modified
2026-12-05T19:00:12Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.9.2-1
4.9.2-1+deb12u1
4.9.3-1
4.9.4-1
5.*
5.1.0-1
5.2.0-1
5.2.1-1
5.2.2-1
5.2.2-2
5.3.0-1
5.3.1-1
5.3.2-1
5.4.0-1
6.*
6.0.1-1
6.0.2-1
6.1.0-1
6.1.3-1
6.1.3-1.1
7.*
7.0.0~a2-1
7.0.0~b1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json"

Debian:13 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.2.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json"

Debian:14 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.2.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json"

Debian:13 / lxml-html-clean

Package

Name
lxml-html-clean
Purl
pkg:deb/debian/lxml-html-clean?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.2-1
0.4.3-1
0.4.4-1~deb13u1
0.4.4-1
0.4.5-1
0.4.7-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json"

Debian:14 / lxml-html-clean

Package

Name
lxml-html-clean
Purl
pkg:deb/debian/lxml-html-clean?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.7-1

Affected versions

0.*
0.4.2-1
0.4.3-1
0.4.4-1~deb13u1
0.4.4-1
0.4.5-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141555.json"