Home / fedora-python / lxml_html_clean / CVE-2026-141555
CVE-2026-141555: is it exploited, and which versions of fedora-python lxml_html_clean are affected and fixed?
CVE-2026-141555 is a cross-site scripting (XSS) vulnerability in fedora-python lxml_html_clean. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: lxml-html-clean before 0.4.7 (GitHub advisory GHSA-vfhw-gfwp-vxfj). Fixed in 0.4.7 (GitHub advisory GHSA-vfhw-gfwp-vxfj). Severity: Medium (4.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record December 2, 2026, 23:21 UTC and NVD December 3, 2026, 01:13 UTC.
What is CVE-2026-141555?
lxml-html-clean: Cleaner(comments=False) keeps a comment that closes <noscript> in the browser, which allows XSS
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.
From the CVE record by GitHub_M, last updated December 2, 2026, 23:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| fedora-python | lxml_html_clean | < 0.4.7 |
As the CVE record by GitHub_M states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | lxml-html-clean | < 0.4.7 | 0.4.7 | GHSA-vfhw-gfwp-vxfj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 3, 2026. Summary: lxml_html_clean: Cleaner(comments=False) keeps a comment that closes <noscript> in the browser, which allows XSS.
How severe is CVE-2026-141555?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-141555 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, December 2, 2026)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 43.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-vfhw-gfwp-vxfj x_refsource_CONFIRM
- https://github.com/fedora-python/lxml_html_clean/commit/c83f0befb32505782858f56a17ac572fbf979f62 x_refsource_MISC
- https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 1, 2026
- Published
- December 2, 2026, 20:09 UTC
- CVE record updated
- December 2, 2026, 23:07 UTC by GitHub_M
- NVD
- Received, last modified December 3, 2026, 00:18 UTC
- Last checked
- CVE list December 2, 2026, 23:21 UTC; NVD December 3, 2026, 01:13 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect lxml_html_clean?
- Dec 2, 2026CVE-2026-141556 fedora-python lxml_html_clean: cross-site scripting (XSS)
- Aug 20, 2026CVE-2026-49825 lxml: cross-site scripting (XSS)
- Mar 5, 2026CVE-2026-28350 fedora-python lxml_html_clean: improper output encoding
- Mar 5, 2026CVE-2026-28348 fedora-python lxml_html_clean: improper output encoding
- Nov 19, 2024CVE-2024-52595 fedora-python lxml_html_clean: cross-site scripting (XSS)
Questions about CVE-2026-141555
Is CVE-2026-141555 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of fedora-python lxml_html_clean are affected by CVE-2026-141555?
lxml-html-clean before 0.4.7, per the GitHub advisory GHSA-vfhw-gfwp-vxfj. The tables above give every range the sources list.
Which version fixes CVE-2026-141555?
0.4.7, per the GitHub advisory GHSA-vfhw-gfwp-vxfj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-141555?
Medium (4.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-141555?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.