CVE-2024-3402: A stored Cross-Site Scripting (XSS) vulnerability existed in version (20240121) of gaizhenbiao/chuanhuchatgpt
CVE-2024-3402 is a medium-severity flaw (CVSS 5.4) affecting chuanhuchatgpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 execut
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-06-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-3402?
chuanhuchatgpt: upgrade to 20240918. Exact commands for each OS are on this page.
Is CVE-2024-3402 being exploited?
CVE-2024-3402 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-3402 affect?
CVE-2024-3402 affects chuanhuchatgpt. Severity is medium (CVSS 5.4). 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 t
How urgent is CVE-2024-3402?
Priority 34/100. Public exploit reference
Related CVEs
- CVE-2025-0191 MEDIUM 6.5 DOWNGRADE A Denial of Service (DoS) vulnerability exists in the file upload feature of gaizhenbiao/chuanhuchatgpt versio
- CVE-2025-0188 MEDIUM 6.5 DOWNGRADE A Server-Side Request Forgery (SSRF) vulnerability was discovered in gaizhenbiao/chuanhuchatgpt version 202409
- CVE-2024-9216 HIGH 8.1 DOWNGRADE An authentication bypass vulnerability exists in gaizhenbiao/ChuanhuChatGPT, as of commit 3856d4f, allowing an
- CVE-2024-9159 MEDIUM 6.5 DOWNGRADE An incorrect authorization vulnerability exists in gaizhenbiao/chuanhuchatgpt version git c91dbfc
- CVE-2024-9107 MEDIUM 5.4 DOWNGRADE A stored cross-site scripting (XSS) vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, affecti