CVE-2024-48059: chuanhuchatgpt · Cross-site Scripting
Affects chuanhuchatgptSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgaizhenbiao/chuanhuchatgptpkg:github/gaizhenbiao/chuanhuchatgptOther 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
To mitigate CVE-2024-48059, organizations should implement strict input validation and output encoding for all data transmitted via WebSocket sessions. Specifically, all user-supplied content must be sanitized to remove or neutralize potentially malicious scripts before storage or rendering. Employing Content Security Policy (CSP) headers can help restrict the execution of unauthorized scripts in browsers. Monitoring WebSocket traffic for anomalous or suspicious payloads can aid in early detection of exploitation attempts. Since no official patches are currently available, organizations should consider temporary workarounds such as disabling or restricting WebSocket features if feasible. Updating to newer, patched versions of the software once released is critical. Additionally, educating users about the risks of interacting with untrusted content and maintaining robust incident response plans will improve resilience. Regular security assessments and penetration testing focused on WebSocket implementations can uncover similar vulnerabilities proactively.
Description
gaizhenbiao/chuanhuchatgpt project, version <=20240802 is vulnerable to stored Cross-Site Scripting (XSS) in WebSocket session transmission. An attacker can inject malicious content into a WebSocket message. When a victim accesses this session, the malicious JavaScript is executed in the victim's browser.