# CVE-2024-3402: Stored XSS vulnerability in gaizhenbiao/chuanhuchatgpt

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/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.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:24:03.274Z
- Modified: 2026-06-17T07:44:11.750Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A stored Cross-Site Scripting (XSS) vulnerability existed in version (20240121) of gaizhenbiao/chuanhuchatgpt due to inadequate sanitization and validation of model output data. Despite user-input validation efforts, the application fails to properly sanitize or validate the output from the model, allowing for the injection and execution of malicious JavaScript code within the context of a user's browser. This vulnerability can lead to the execution of arbitrary JavaScript code in the context of other users' browsers, potentially resulting in the hijacking of victims' browsers.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified up to latest
- gaizhenbiao chuanhuchatgpt: before 20240918

## Every score

- @huntr_ai: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1> (exploit, issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2024-3402](https://www.cve.org/CVERecord?id=CVE-2024-3402), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3402](https://nvd.nist.gov/vuln/detail/CVE-2024-3402), Public domain, modified 2026-06-17

---

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