Cross-site Scripting (XSS) and Server-side Request Forgery (SSRF) Affecting nextchat package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) and Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NEXTCHAT-7641081
  • published6 Aug 2024
  • disclosed5 Aug 2024
  • creditUnknown

Introduced: 5 Aug 2024

CVE-2023-49785  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for nextchat.

Overview

nextchat is a package for interacting with various ai models

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) and Server-side Request Forgery (SSRF) through the /api/cors endpoint. An attacker can read and manipulate internal HTTP endpoints and mask their source IP by forwarding malicious traffic through these open proxies.

CVSS Scores

version 4.0
version 3.1