DEBIAN-CVE-2026-141556

Source
https://security-tracker.debian.org/tracker/CVE-2026-141556
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-141556.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-141556
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. In versions through 0.4.6, Cleaner in lxml_html_clean/clean.py configured with safe_attrs_only=False removes JavaScript links using rewrite_links, which visits only attributes in lxml.html.defs.link_attrs and misses iframe srcdoc and SVG animation attributes. When an iframe is retained through host_whitelist, srcdoc takes priority over its source and can cause attacker-controlled HTML to run without a click. With remove_unknown_tags=False, SVG set or animate elements can use attributeName and attributes such as to, from, by, or values to change a link destination to a JavaScript URL that runs when clicked. This vulnerability 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-141556.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-141556.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-141556.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-141556.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-141556.json"