---
title: "CVE-2023-49785: NextChat has full-read SSRF and XSS vulnerability in /api/cors endpoint"
url: https://erroneo.us/security/cve/CVE-2023-49785/
description: "CVE-2023-49785 (nextchat (npm)): NextChat, also known as ChatGPT-Next-Web, is a cross-platform chat user interface for use with ChatGPT. Versions 2.11.2 and…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-03-11
date_modified: 2024-08-19
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-49785"
kev: false
cvss: 9.3
epss: 0.83163
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-49785: NextChat has full-read SSRF and XSS vulnerability in /api/cors endpoint

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 83.2% , percentile 99.7: FIRST’s model estimates a 83.2% chance of exploitation activity in the next 30 days, higher than 99.7% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes nextchat (npm) <= 2.11.2, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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

- npm `nextchat` <= 2.11.2 → fixed: none listed

## Affected products (CVE record)

- ChatGPTNextWeb NextChat: <= 2.11.2

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 83.16% probability of exploitation activity in the next 30 days; percentile 99.7.

## Sources

- [github.com](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285)
- [GitHub Advisory GHSA-qf3q-9f3h-cjp9](https://github.com/advisories/GHSA-qf3q-9f3h-cjp9)
- [CVE.org record CVE-2023-49785](https://www.cve.org/CVERecord?id=CVE-2023-49785)
- [NVD entry CVE-2023-49785](https://nvd.nist.gov/vuln/detail/CVE-2023-49785)
- [horizon3.ai](https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/)
- [github.com](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web)
- [vicarius.io](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)
- [github.com](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283)

---
Source page: https://erroneo.us/security/cve/CVE-2023-49785/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
