CVE-2023-49785
published critical CVSS 3.1 · 9.1NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting
Package status and fixes
Description
NextChat, also known as ChatGPT-Next-Web, is a cross-platform chat user interface for use with ChatGPT. Versions 2.11.2 and prior are vulnerable to server-side request forgery and cross-site scripting. This vulnerability enables read access to internal HTTP endpoints but also write access using HTTP POST, PUT, and other methods. Attackers can also use this vulnerability to mask their source IP by forwarding malicious traffic intended for other Internet targets through these open proxies. As of time of publication, no patch is available, but other mitigation strategies are available. Users may avoid exposing the application to the public internet or, if exposing the application to the internet, ensure it is an isolated network with no access to any other internal resources.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ChatGPTNextWeb | NextChat | 0 through 2.11.2 (affected · 2.11.2)Default: unaffected | GitHub_M · cna |
| chatgptnextweb | nextchat | 0 through 2.11.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
- https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283
- https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285
- https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/
- https://www.vicarius.io/vsociety/posts/hacking-ai-chatbots-for-fun-and-learning-analyzing-an-unauthenticated-ssrf-and-reflected-xss-in-chatgpt-next-web-cve-2023-49785
Provider assertions
3GitHub_M · cna
NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 63083f67c3678e67ae9a37d09bacbb9c1285cfbafd4f6728380a29ce178f35b1
- Ingested
- 23 Sep 2026, 08:13:36 UTC
- Source record
- Official CVE record