9.8
CRITICAL
CVE-2023-49785
"NextChat Cross-Platform Chat Interface SSRF and XSS Vulnerability"
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.

INFO

Published Date :

March 12, 2024, 12:15 a.m.

Last Modified :

April 10, 2025, 8:35 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-49785 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-49785 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nextchat nextchat

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A curated list of awesome resources about LLM supply chain security (including papers, security reports and CVEs)

Updated: 1 week, 2 days ago
66 stars 3 fork 3 watcher
Born at : Nov. 9, 2024, 6:11 a.m. This repo has been linked 4 different CVEs too.

此项目的POC来源为2024年以来各大威胁情报的高危漏洞复现,POC已通过nuclei或xray武器化,本项目旨在为网络安全爱好者们提供一点参考资料,可供个人研究使用,共勉

Shell Batchfile Python ASP.NET Java Classic ASP PHP

Updated: 6 days, 21 hours ago
287 stars 47 fork 47 watcher
Born at : May 8, 2024, 11:50 a.m. This repo has been linked 21 different CVEs too.

None

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : March 13, 2024, 7:47 a.m. This repo has been linked 1 different CVEs too.

Awvs Scanner、fahai

security

Updated: 1 week, 6 days ago
209 stars 20 fork 20 watcher
Born at : Oct. 23, 2021, 5:14 a.m. This repo has been linked 6 different CVEs too.

None

Updated: 2 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 27, 2020, 8:35 p.m. This repo has been linked 29 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-49785 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-49785 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Reanalysis by [email protected]

    Apr. 10, 2025

    Action Type Old Value New Value
    Added CWE CWE-79
    Added CWE CWE-918
  • Initial Analysis by [email protected]

    Feb. 26, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:* versions from (including) 2.11.2
    Added Reference Type CVE: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web Types: Product
    Added Reference Type GitHub, Inc.: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web Types: Product
    Added Reference Type CVE: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283 Types: Exploit, Issue Tracking
    Added Reference Type CVE: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285 Types: Exploit, Issue Tracking, Patch
    Added Reference Type CVE: https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/ Types: Exploit
    Added Reference Type GitHub, Inc.: https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/ Types: Exploit
    Added Reference Type CVE: 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 Types: Exploit
    Added Reference Type CVE: 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 Types: Exploit
    Added Reference Type CVE: 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 Types: Exploit
    Added Reference Type CVE: 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 Types: Exploit
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
    Added Reference https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283
    Added Reference https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285
    Added Reference https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/
    Added Reference 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
    Added Reference 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
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 12, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/ [No types assigned]
    Added Reference GitHub, Inc. https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web [No types assigned]
    Added CWE GitHub, Inc. CWE-918
    Added CWE GitHub, Inc. CWE-79
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-49785 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 30, 2025 23:13