CVE-2024-3402
Last modified
CVE-2024-3402 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gaizhenbiao | Chuanhuchatgpt | < 20240918 |
References
- https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1Exploit, Issue Tracking, Patch, Third Party Advisory
- https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1Exploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-3402?
How severe is CVE-2024-3402?
How do I fix CVE-2024-3402?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-34014Arbitrary file overwrite during recovery due to improper sym…5.5
- CVE-2024-34015Sensitive information disclosure during file browsing due to…3.3
- CVE-2024-34016Local privilege escalation due to DLL hijacking vulnerabilit…6.5
- CVE-2024-34017Local privilege escalation due to DLL hijacking vulnerabilit…7.3
- CVE-2024-34018Sensitive information disclosure due to insecure folder perm…5.5
- CVE-2024-34019Local privilege escalation due to DLL hijacking vulnerabilit…7.3
- CVE-2024-34020A stack-based buffer overflow was found in the putSDN() func…6.5
- CVE-2024-34021Unrestricted upload of file with dangerous type vulnerabilit…6.8
- CVE-2024-34022Improper Access Control in some Thunderbolt(TM) Share softwa…6.7
- CVE-2024-34023Untrusted pointer dereference in some Intel(R) Graphics Driv…8.4
- CVE-2024-34024Observable response discrepancy issue exists in ID Link Mana…6.3
- CVE-2024-34025CyberPower PowerPanel business application code contains a h…9.8
Are you affected by CVE-2024-3402?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
