Skip to main content
CVE-2026-141555VulnerabilityPublished

gptline · lxml_html_clean: Cleaner(comments=False) keeps a comment that closes <noscript> in the browser, which allows XSS

Affects gptlineSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141555· Medium 4.7

Not known to be exploited · CVSS 4.7 Medium : upgrade to 1.0.8_27 when convenient.

Data as of 4 Dec 2026, 20:15 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.7
Patch
Available – fixed in 1.0.8_27, 0.4.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade gptline to 1.0.8_27; lxml-html-clean to 0.4.7.

Affected software

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8_4 <1.0.8_27
Fixed in
  • 1.0.8_27
PyPIlxml-html-cleanpkg:pypi/lxml-html-cleanOther threatsAffected
  • <0.4.7
Fixed in
  • 0.4.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in lxml_html_clean version 1.0.8_27. Users should upgrade to this version or later to ensure the vulnerability is remediated. The default Cleaner configuration (which removes all comments) is not affected. Until upgrading, avoid using Cleaner with comments=False on untrusted input. No other vendor advisories indicate alternative mitigations.

Description

A vulnerability in lxml_html_clean's Cleaner with comments=False allows certain comments inside <noscript> tags to be preserved. Because libxml2 parses <noscript> content as markup but browsers treat it differently, this can lead to execution of injected scripts via an onerror handler in an <img> tag. The default Cleaner configuration is not affected as it removes all comments. This issue is fixed in version 1.0.8_27.

References

Community reviews

Loading reviews…