CVE-2026-49825: Gptline · `lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
Affects gptlineSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.2 High : upgrade to 1.0.8_22 soon.
Data as of 4 Dec 2026, 20:03 UTC
- Patch
- Available – fixed in 1.0.8_22, 0.4.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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_22; lxml-html-clean to 0.4.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
PyPIlxml-html-cleanpkg:pypi/lxml-html-cleanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in version 1.0.8_22 that addresses this vulnerability by adding 'xlink:href' to the list of attributes checked for unsafe URL schemes. Users should upgrade to this fixed version to remediate the issue. No additional mitigation is required if the patched version is deployed. If upgrading is not immediately possible, avoid using Cleaner with safe_attrs_only=False or apply custom sanitization to handle namespaced URL attributes.
Description
The lxml_html_clean.Cleaner component in the lxml and lxml_html_clean Python packages does not sanitize javascript: URLs in namespaced URL attributes such as xlink:href. This allows malicious JavaScript payloads to survive sanitization when Cleaner is used with safe_attrs_only=False, potentially leading to stored cross-site scripting (XSS) vulnerabilities in applications that sanitize untrusted HTML using this configuration. The issue affects lxml versions up to 6.1.0 and lxml_html_clean up to 0.4.4. A fix is available in version 1.0.8_22 of the affected product.