Vulnerability · Published Mar 11, 2024 · Assigned by GitHub_M

CVE-2023-49785NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting

Critical 9.1

In plain English

A critical-severity server-side request forgery in NextChat from ChatGPTNextWeb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 83.2% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)83.2%top 0.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnextchatno fix listedGHSA-qf3q-9f3h-cjp9

Affected products (as reported)

VendorProductVersions
ChatGPTNextWeb NextChat 0 – through 2.11.2

Weakness: CWE-918, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References