CVE-2024-9107
MEDIUMgaizhenbiao/chuanhuchatgpt 20b2e02 - Stored Cross-Site Scripting via Chat History Upload
Title source: llmDescription
A stored cross-site scripting (XSS) vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, affecting version git 20b2e02. The vulnerability arises from improper sanitization of HTML tags in chat history uploads. Specifically, the sanitization logic fails to handle HTML tags within code blocks correctly, allowing an attacker to inject malicious scripts. This can lead to the execution of arbitrary JavaScript code in the context of the user's browser, potentially leading to identity theft or other malicious actions.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/a2972c51-4780-4f60-afbf-a7a8ee4066ea
Scores
CVSS v3
5.4
EPSS
0.0050
EPSS Percentile
39.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
gaizhenbiao/chuanhuchatgpt
2024-09-19
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026