CVE-2024-6035 Stored XSS in gaizhenbiao/chuanhuchatgpt
Attackers can inject malicious scripts into chat history files, leading to victim data theft and session hijacking when the file is uploaded.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-6035?
CVE-2024-6035 is a high-severity cross-site scripting vulnerability in gaizhenbiao/chuanhuchatgpt, published on 11 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Stored Cross-Site Scripting (XSS) vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410. This vulnerability allows an attacker to inject malicious JavaScript code into the chat history file. When a victim uploads this file, the malicious script is executed in the victim's browser. This can lead to user data theft, session hijacking, malware distribution, and phishing attacks.
Weakness: CWE-79
Which versions are affected by CVE-2024-6035?
1 open source package ship an affected version, including chuanhuchatgpt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chuanhuchatgpt PyPI | All versions | None |
Products include Gaizhenbiao Chuanhuchatgpt.
How do I fix CVE-2024-6035?
No fix has been published for CVE-2024-6035 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-6035 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6035 exists.
Other vulnerabilities in gaizhenbiao/chuanhuchatgpt
- CVE-2024-3234 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-5982 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-6255 Path Traversal in gaizhenbiao/chuanhuchatgpt
- CVE-2024-8613 Improper Access Control in gaizhenbiao/chuanhuchatgpt
- CVE-2024-9216 Authentication Bypass in gaizhenbiao/ChuanhuChatGPT
Sources
Also known as GHSA-rx93-qmpc-rhp9, PYSEC-2024-61.