NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-49785
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 22:57 UTC · Revision 1
Source evidence
NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting
core-osv · Original sourcePublished 11 Mar 2024, 23:26 UTC
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.
osv:CVE-2023-49785
Complete source record
{
"id": "aaea8b67663d26a1b4c5725f5a62d779102e591f1a88642451c1ca967708e9bb",
"url": "https://osv.dev/vulnerability/CVE-2023-49785",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting",
"summary": "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.",
"evidence": "osv:CVE-2023-49785",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2023-49785",
"aliases": [
"CVE-2023-49785",
"GHSA-qf3q-9f3h-cjp9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ChatGPTNextWeb/NextChat",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "bc1794fb4af5229c4811008ad247b57bbf091334"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.11.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.11.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.11.2",
"v2.10.3",
"v2.10.2",
"v2.10.1",
"v2.9.13",
"v2.9.12",
"v2.9.11",
"v2.9.10",
"v2.9.9",
"v2.9.8",
"v2.9.7",
"v2.9.6",
"v2.9.5",
"v2.9.4",
"v2.9.3",
"v2.9.2",
"v2.9.1",
"v2.9.0",
"v2.8.9",
"v2.8.8",
"v2.8.7",
"v2.8.6",
"v2.8.5",
"v2.8.4",
"v2.8.3",
"v2.8.2",
"v2.8.1",
"app-vundefined",
"v2.8",
"v2.7",
"v2.6",
"v2.5",
"v2.4",
"v2.3",
"v2.2",
"v2.1",
"v2.0.1",
"v1.9.9",
"v1.9.8",
"v1.9.7",
"v1.9.6",
"v1.9.5",
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9",
"v1.8",
"v1.7.2",
"v1.7.1",
"v1.7",
"v1.6",
"v1.5",
"v1.4",
"v1.3",
"v1.2",
"v1.1",
"v1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49785.json"
}
}
],
"modified": "2026-10-28T02:30:32.061075481Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49785.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-49785",
"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283",
"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285",
"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web",
"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_metadata": {
"cwe_ids": [
"CWE-79",
"CWE-918"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49785.json"
}
},
"related_cves": [
{
"value": "CVE-2023-49785",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499201,
"published_at": "2024-03-11T23:26:10.773+00:00"
}