What’s Vulnerable › Vulnerabilities
CVE-2024-3402: Stored XSS vulnerability in gaizhenbiao/chuanhuchatgpt
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- gaizhenbiao/chuanhuchatgpt: before 20240918 — fixed in 20240918
How to fix
Upgrade to a fixed version: gaizhenbiao/chuanhuchatgpt 20240918. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1
- https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1
Get alerted when CVE-2024-3402 or the next vulnerability affects your stack