XSS in Gaizhenbiao Chuanhuchatgpt
CVE-2024-9107
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.006, 47.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gaizhenbiao Chuanhuchatgpt — versions 2024-09-19
- Gaizhenbiao Gaizhenbiao/chuanhuchatgpt — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/a2972c51-4780-4f60-afbf-a7a8ee4066ea (Exploit, Third Party Advisory)