NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
CRITICAL severity

CVE-2023-49785 — nextchat

CRITICALFix: ChatGPTNextWeb/ChatGPT-Next-Web#4285

CVE-2023-49785 is a critical-severity (CVSS 9.1) Cross-site Scripting (XSS) vulnerability in nextchat. EPSS puts its 30-day exploitation probability at 83.2% (100th percentile). The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

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

Also known asGHSA-qf3q-9f3h-cjp9
Published
Updated
Affected
1 pkg
Patched
See advisory
Exploits
None indexed
Exploitation data as of Oct 26, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-49785.

EPSS Exploitation Probability

via FIRST.org ↗
83.2%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
80.2%85.4%90.7%95.9%93.0%83.2%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
📦nextchat

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

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

1 total
EcosystemPackageVulnerable rangeFix
📦npmnextchatall versionsNo fix

Affected Products

1 product · 1 configurations
Application
nextchatnextchat
≤ 2.11.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for nextchat, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    The records we use list no patched version of nextchat for CVE-2023-49785. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.

  3. Mitigate without a patch

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

How to detect CVE-2023-49785

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2023-49785 -u https://target
Template
ChatGPT-Next-Web - SSRF/XSS
Severity
critical
Impact
Unauthenticated attackers can exploit SSRF vulnerabilities through the /api/cors endpoint to access internal network resources and inject malicious JavaScript for cross-site scripting attacks.
Remediation
Do not expose to the Internet

Template by ProjectDiscovery nuclei-templates (high), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is CVE-2023-49785 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2023-49785: nextchat XSS (Critical 9.1)