# CVE-2024-6035: Stored XSS in gaizhenbiao/chuanhuchatgpt

- Severity: High 7.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-11T10:41:27.535Z
- Modified: 2026-06-17T08:17:09.150Z
- Also known as: PYSEC-2024-61
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified up to latest
- gaizhenbiao chuanhuchatgpt: 20240410
- chuanhuchatgpt (PyPI): all versions

## Every score

- @huntr_ai: CVSS:3.0 7.4 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/e4e8da71-53a9-4540-8d70-6b670b076987> (exploit, third-party-advisory, web)

## Sources

- CVE List: [CVE-2024-6035](https://www.cve.org/CVERecord?id=CVE-2024-6035), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-6035](https://nvd.nist.gov/vuln/detail/CVE-2024-6035), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-61](https://osv.dev/vulnerability/PYSEC-2024-61), CC-BY-4.0, modified 2024-07-12

---

Page: https://cve.day/CVE-2024-6035 · Whole record: https://cve.day/CVE-2024-6035.json · Rebuilt by cve.day 2026-11-25T22:58:42.785Z
