Code Injection Affecting evershop package, versions *


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.31% (70th 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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EVERSHOP-6117574
  • published12 Dec 2023
  • disclosed8 Dec 2023
  • creditUnknown

Introduced: 8 Dec 2023

CVE-2023-46498  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

evershop is an A shopping cart platform with Express, React and MySQL

Affected versions of this package are vulnerable to Code Injection via the /deleteCustomer/route.json file. Attackers can chain this with another vulnerability found in the GraphQL schema, first by querying the schema to identify the Customer object and get the relevant uuid of a user. Then the attackers are able to send a DELETE request to the unprotected endpoint, resulting in the successful deletion of the user account.

CVSS Scores

version 3.1