Every CVESearch/Get API key

GHSA-f5cv-xrv9-r8w7

NoSQL injection in express-cart

No scoreFix available

GHSA-f5cv-xrv9-r8w7 is a vulnerability with no CVSS score yet in express-cart, published September 1, 2020. No source lists public exploit code. Fixed in express-cart 1.1.8.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

Versions of express-cart before 1.1.8 are vulnerable to NoSQL injection.

The vulnerability is caused by the lack of user input sanitization in the login handlers. In both cases, the customer login and the admin login, parameters from the JSON body are sent directly into the MongoDB query which allows to insert operators.

These operators can be used to extract the value of the field blindly in the same manner of a blind SQL injection. In this case, the $regex operator is used to guess each character of the token from the start.

Recommendation

Update to version 1.1.8 or later.

Affected packages

Affected packages
PackageAffectedFixed
express-cart
npm
through 1.1.7
1.1.8
express-cart
npm
before 1.1.8
1.1.8

What each source reports

GitHub AdvisoriesNo score

NoSQL injection in express-cart

Versions of express-cart before 1.1.8 are vulnerable to NoSQL injection.

The vulnerability is caused by the lack of user input sanitization in the login handlers. In both cases, the customer login and the admin login, parameters from the JSON body are sent directly into the MongoDB query which allows to insert operators.

These operators can be used to extract the value of the field blindly in the same manner of a blind SQL injection. In this case, the $regex operator is used to guess each character of the token from the start.

Recommendation

Update to version 1.1.8 or later.

Record
GHSA-f5cv-xrv9-r8w7
Weakness
CWE-89
Updated
2026-11-02
OSVNo score

NoSQL injection in express-cart

Versions of express-cart before 1.1.8 are vulnerable to NoSQL injection.

The vulnerability is caused by the lack of user input sanitization in the login handlers. In both cases, the customer login and the admin login, parameters from the JSON body are sent directly into the MongoDB query which allows to insert operators.

These operators can be used to extract the value of the field blindly in the same manner of a blind SQL injection. In this case, the $regex operator is used to guess each character of the token from the start.

Recommendation

Update to version 1.1.8 or later.

Record
GHSA-f5cv-xrv9-r8w7
Weakness
CWE-89
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open