CVE-2026-141556

MediumCVSS 4.7/10Last modified Dec 2, 2026

Description

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.

Metrics

CVSS 3.1 4.7/10CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1415574.3Potato is a portable annotation tool. From 2.4.0 until 2.14.1, deployments using the web_agent_trace or web_agent_recorder display type expoCVE-2026-141566.5Insufficient policy enforcement in StorageAccessAPI in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised thCVE-2026-141579.4Use of an Externally Controlled Format String in the ASUS Router modules allow a remote authenticated user to execute arbitrary commands viaCVE-2026-141588.8The Widget Logic Visual plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.52 via the widgeCVE-2026-1415908.1LimeSurvey 6.16.0 before 7.10.0 contains an authorization bypass vulnerability in the participant table restore function of Tokens.php that CVE-2026-1415918.6mcp-fetch-server 1.1.0 before 1.2.0 contains a server-side request forgery vulnerability in validateUrl and validateResolvedIp that fails toCVE-2026-1415927.8Kangas before 2.4.12 contains an eval injection vulnerability that allows attackers to execute Python code by embedding malicious .show() arCVE-2026-1415937.8HENDRICS 6.0 through 8.5.1 contains an eval injection vulnerability in read_from_netcdf() in hendrics/io.py that passes NetCDF boolean strinCVE-2026-1415947.8kafe2 through 2.11.0 contains an unsafe deserialization vulnerability in YamlReaderMixin that allows attackers to execute Python code by supCVE-2026-1415957.5libexpat through 2.11.0 contains a denial of service vulnerability in storeAtts() in lib/xmlparse.c that scans valueless default attribute dCVE-2026-1415965.9libexpat through 2.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspensionCVE-2026-1415974.8Typemill 2.24.0 before 2.28.1 contains a stored cross-site scripting vulnerability that allows users with the manager role to inject script
CVE-2026-141556: Medium severity, CVSS 4.7 | Vulnix