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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 83.2%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2024-03-11T23:26:10.773Z
- Modified: 2026-06-17T06:36:27.683Z
- Also known as: GHSA-qf3q-9f3h-cjp9
- Weaknesses: CWE-79, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- ChatGPTNextWeb NextChat: up to 2.11.2
- nextchat (npm): up to 2.11.2
- nextchat nextchat: up to 2.11.2

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/> (exploit)
- <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> (exploit, technical-description)
- <https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285> (exploit, issue-tracking, patch)
- <https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283> (exploit, issue-tracking)
- <https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49785> (advisory)
- <https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to> (web)

## Sources

- CVE List: [CVE-2023-49785](https://www.cve.org/CVERecord?id=CVE-2023-49785), CVE Terms of Use, modified 2024-08-19
- GitHub Advisory Database: [GHSA-qf3q-9f3h-cjp9](https://github.com/advisories/GHSA-qf3q-9f3h-cjp9), CC-BY-4.0, modified 2024-08-05
- NVD: [CVE-2023-49785](https://nvd.nist.gov/vuln/detail/CVE-2023-49785), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49785 · Whole record: https://cve.day/CVE-2023-49785.json · Rebuilt by cve.day 2026-11-25T22:58:33.310Z
