Skip to main content
VulnerabilityPublished Updated

CVE-2024-52595: Gptline · HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through

Affects gptlineSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 1.0.8_5 soon.

Data as of 4 Dec 2026, 20:14 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.0.8_5, 0.4.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 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_5; lxml-html-clean to 0.4.0.

Affected software

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

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

AI-suggested

Upgrade Gptline to version 1.0.8_5 or later, which includes a fix for this vulnerability. As a temporary workaround, configure lxml_html_clean to remove or kill special context-switching tags such as <svg>, <math>, and <noscript> by using the 'remove_tags', 'kill_tags', or 'allow_tags' settings to restrict or exclude these tags from sanitized content.

Description

The HTML Parser in lxml used by Gptline's HTML Cleaner does not correctly handle context-switching for special HTML tags such as <svg>, <math>, and <noscript>. This parsing deviation allows malicious scripts embedded in these contexts to bypass the cleaning process, potentially leading to Cross-Site Scripting (XSS) attacks. The vulnerability affects versions >=1.0.8_4 and <1.0.8_5 of Gptline. A fix is available in version 1.0.8_5. Temporary mitigations include configuring the cleaner to remove or restrict these special tags.

References

Community reviews

Loading reviews…