Skip to content
OpenAdvisories
High GHSA-hxwc-5vw9-2w4w

NoSQL Injection in loopback-connector-mongodb

Published Sep 2, 2020 · Updated Sep 27, 2021 · Assigned by GHSA

Description

Versions of `loopback-connector-mongodb` prior to 3.6.0 are vulnerable to NoSQL Injection. Filters passed to the database query are not properly sanitized which leads to execution of code on the database driver and data leak.

## Recommendation

Upgrade to version 3.6.0 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm loopback-connector-mongodb < 3.6.0 3.6.0 GHSA-hxwc-5vw9-2w4w

References