SCA: security update for lxml-html-clean (GHSA-5gvf-7wqf-r4cv)

medium Tenable Cloud Security Plugin ID 498707

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-141556)

Solution

Update the lxml-html-clean library and its related packages to version 0.4.7 or later.

See Also

https://github.com/advisories/GHSA-5gvf-7wqf-r4cv

Plugin Details

Severity: Medium

ID: 498707

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 10.77

Vendor

Vendor Severity: Medium

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-141556

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 12/2/2026

Reference Information

CVE: CVE-2026-141556