CVE-2024-38514: NextChat - Server Side Request Forgery & Reflected XSS
- Cve: CVE-2024-38514
- Name: NextChat - Server Side Request Forgery & Reflected XSS
- Description: NextChat is a cross-platform ChatGPT/Gemini UI. There is a Server-Side Request Forgery (SSRF) vulnerability due to a lack of validation of the `endpoint` GET parameter on the WebDav API endpoint. This SSRF can be used to perform arbitrary HTTPS request from the vulnerable instance (MKCOL, PUT and GET methods supported), or to target NextChat users and make them execute arbitrary JavaScript code in their browser. This vulnerability has been patched in version 2.12.4.
- Impact: Attackers can perform SSRF attacks and execute malicious scripts, potentially leading to server compromise and client-side data theft.
- Remediation: Implement proper validation of GET parameters on the WebDav API endpoint and update to the latest version.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: man_in_the_middle, client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.4
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.02168
- Epss percentile: 0.8273
- Assignee: [email protected]
- Published at: 2024-06-28T19:15:06Z
- Age in days: 879
- Modified at: 2026-06-17T07:40:27Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-38514
- Nvd status: deferred
- Checked, none or zero: public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2025-02-25 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-38514 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38514.yaml |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| chatgptnextweb:nextchat | < 2.12.4 | no | adp_cpes | /v1/products/chatgptnextweb/nextchat |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| chatgptnextweb/chatgpt-next-web | commit, security_advisory | yes | /v1/repositories/chatgptnextweb/chatgpt-next-web |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2025-02-25
- Remote: yes
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, initial access since, hackerone reports, exposed hosts