CVE-2024-38514: SSRF and Reflected XSS in NextChat WebDav API
- Vendor
- ChatGPTNextWeb
NextChat, a cross-platform ChatGPT/Gemini UI, contains a Server-Side Request Forgery (SSRF) vulnerability in its WebDav API endpoint due to insufficient validation of the 'endpoint' GET parameter. Attackers can leverage this flaw to make arbitrary HTTPS requests (supporting MKCOL, PUT, and GET methods) from the vulnerable server. Additionally, the SSRF can be chained to target NextChat users, potentially leading to the execution of arbitrary JavaScript code in their browsers (reflected XSS). The vulnerability is present in versions prior to 2.12.4.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to perform SSRF, enabling them to interact with internal or external systems from the NextChat server, potentially bypassing network restrictions and accessing sensitive resources. Furthermore, attackers can target NextChat users and execute arbitrary JavaScript in their browsers, leading to session hijacking, data theft, or further compromise via XSS.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the WebDav API endpoint at the network level, implement strict input validation and sanitization for the 'endpoint' parameter, and monitor for suspicious outbound requests from the application server.
Remediation
Patch, then assume compromise.
Upgrade NextChat to version 2.12.4 or later, where the input validation for the 'endpoint' parameter in the WebDav API has been properly implemented to prevent SSRF and XSS vectors.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-38514 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-38514?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2024-38514.
- Is there a patch for CVE-2024-38514?
- Upgrade NextChat to version 2.12.4 or later, where the input validation for the 'endpoint' parameter in the WebDav API has been properly implemented to prevent SSRF and XSS vectors.
- What products are affected by CVE-2024-38514?
- ChatGPTNextWeb Nextchat.
- How severe is CVE-2024-38514?
- CVE-2024-38514 has a CVSS v3.1 score of 7.4 (High) and an EPSS score of 2.2% (83rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.