CVE-2026-141556
Last modified
CVE-2026-141556 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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.
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| fedora-python | lxml_html_clean | < 0.4.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-141556?
How severe is CVE-2026-141556?
How do I fix CVE-2026-141556?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-141547PDM is a Python package and dependency manager. From 2.27.0 …7
- CVE-2026-141548pymonocypher uses cython to wrap the Monocypher C library. F…3.3
- CVE-2026-14155Insufficient policy enforcement in StorageAccessAPI in Googl…6.5
- CVE-2026-141553termux-sync is an open source tool for backing up and restor…5.5
- CVE-2026-141554AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, Sand…3.1
- CVE-2026-141555lxml-html-clean is an HTML cleaning library for Python. Prio…4.7
- CVE-2026-141557Potato is a portable annotation tool. From 2.4.0 until 2.14.…4.3
- CVE-2026-14156Insufficient policy enforcement in StorageAccessAPI in Googl…6.5
- CVE-2026-14157Use of an Externally Controlled Format String in the ASUS Ro…9.4
- CVE-2026-14158The Widget Logic Visual plugin for WordPress is vulnerable t…8.8
- CVE-2026-141590LimeSurvey 6.16.0 before 7.10.0 contains an authorization by…8.1
- CVE-2026-141591mcp-fetch-server 1.1.0 before 1.2.0 contains a server-side r…8.6
Are you affected by CVE-2026-141556?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
