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)
EPSS: 0.005 (41.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Gaizhenbiao Chuanhuchatgpt — versions 2024-09-19
- Gaizhenbiao Gaizhenbiao/chuanhuchatgpt — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-9107?
- CVE-2024-9107 is a medium-severity vulnerability in Gaizhenbiao Chuanhuchatgpt, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-20.
- How severe is CVE-2024-9107?
- Medium severity. CVSS v3 base score is 5.4 out of 10.