SecurityContext

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

IdName
CWE-918Server-Side Request Forgery

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2025-02-25—no

Nuclei templates

IdUrl
CVE-2024-38514https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38514.yaml

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38514.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-38514vulncheckVulncheck Reported Exploitation
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/commit/dad122199a85c2f12277593973e1784b212adf5envd
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/security/advisories/GHSA-gph5-rx77-3pjgnvd

Products

ProductAffectedPlatform boundSourcesUrl
chatgptnextweb:nextchat< 2.12.4noadp_cpes/v1/products/chatgptnextweb/nextchat

Projects

RepositoryLink kindsIndexedUrl
chatgptnextweb/chatgpt-next-webcommit, security_advisoryyes/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

Nuclei template