SQL Injection Affecting express-cart package, versions <1.1.8


Severity

Recommended
0.0
high
0
10

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

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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXPRESSCART-72404
  • published26 Sept 2018
  • disclosed11 Sept 2018
  • creditbecojo

Introduced: 11 Sep 2018

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade express-cart to version 1.1.8 or higher.

Overview

express-cart is a fully functional shopping cart built in Node.js (Express, MongoDB) with Stripe, PayPal and Authorize.net payments.

Affected versions of this package are vulnerable to SQL Injection due to a lack of user input sanitization in the login handlers. An attacker could enumerate the email address of the customers and the administrators.

CVSS Base Scores

version 3.1