SQL Injection

Affecting express-cart package, versions <1.1.8

high severity

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.

Remediation

Upgrade express-cart to version 1.1.8 or higher.

References

Do your applications use this vulnerable package?

Credit
becojo
CWE
CWE-89
Snyk ID
SNYK-JS-EXPRESSCART-72404
Disclosed
11 Sep, 2018
Published
26 Sep, 2018