{"id":"CVE-2023-49785","published":"2024-03-11T23:26:10Z","modified":"2024-08-19T07:48:00Z","title":"NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting","vendor":"ChatGPTNextWeb","product":"NextChat","tier":"core","eol":null,"affectedVersions":[{"vendor":"ChatGPTNextWeb","product":"NextChat","versions":["<= 2.11.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-25T16:22:49.432580Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"summary":{"text":"NextChat (also known as ChatGPT-Next-Web), a cross-platform chat user interface for ChatGPT, contains a server-side request forgery and cross-site scripting flaw in versions 2.11.2 and prior. An attacker with network access and no authentication or user interaction can read and write internal HTTP endpoints and use the application as an open proxy to relay traffic, masking their source IP, with no patch currently available.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:18:48Z"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08104,"percentile":0.95577,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-04-06","exploitedFirstSeen":"2024-04-06","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-49785","date":"2024-04-06"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.horizon3.ai/attack-research/attack-blogs/nextchat-an-ai-chatbot-that-lets-you-talk-to-anyone-you-want-to/","tags":[]},{"url":"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web","tags":[]},{"url":"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","tags":["technical-description"]},{"url":"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4285","tags":["patch"]},{"url":"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4283","tags":["issue-tracking"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"nextchat","vulnerableRanges":["<=2.11.2"],"patched":[],"from":["GHSA-qf3q-9f3h-cjp9"],"provenance":"source"}],"advisories":[{"id":"GHSA-qf3q-9f3h-cjp9","url":"https://github.com/advisories/GHSA-qf3q-9f3h-cjp9","severity":"CRITICAL","ecosystem":"npm","package":"nextchat","vulnerableRanges":["<=2.11.2"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-2633","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2633","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2023-49785","name":"ChatGPT-Next-Web - SSRF/XSS","severity":"critical","path":"http/cves/2023/CVE-2023-49785.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-49785.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-03-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-49785","provenance":"source"},{"date":"2024-04-06","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-49785","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":65.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 963 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.12,"detail":"percentile 0.9558"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.37,"detail":"base score 9.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}