Advisory

GHSA-qf3q-9f3h-cjp9

Also known as: CVE-2023-49785

Summary

NextChat has full-read SSRF and XSS vulnerability in /api/cors endpoint

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-08-05 21:29 UTC
Modified
2024-08-05 21:58 UTC

Affected packages and fixes

nextchat

npm · All systems

Affected

  • introduced 0, last affected 2.11.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences