GitHub Advisoryadvisory · npm

GHSA-qf3q-9f3h-cjp9 NextChat has full-read SSRF and XSS vulnerability in /api/cors endpoint

CRITICAL Published 2024-08-05 Modified 2024-08-05 Official page ↗
Aliases
CVE-2023-49785
Ecosystem
npm
Packages
nextchat
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-79, CWE-918
Reviewed
2024-08-05

Affected packages

• npm nextchat: <= 2.11.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2023-49785 NextChat, also known as ChatGPT-Next-Web, is a cross-platform chat user interface for use with ChatGPT. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-918 Server-Side Request Forgery weakness

References