# GHSA-hxwc-5vw9-2w4w: NoSQL Injection in loopback-connector-mongodb

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T15:52:39.000Z
- Modified: 2021-09-27T15:13:26.000Z
- Weaknesses: CWE-89

## 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.

(As written by GitHub Advisory Database.)

## Affected

- loopback-connector-mongodb (npm): before 3.6.0

## References

- <https://github.com/loopbackio/loopback-connector-mongodb> (package)
- <https://loopback.io/doc/en/lb3/Security-advisory-08-15-2018.html> (web)
- <https://www.npmjs.com/advisories/767> (web)

## Sources

- GitHub Advisory Database: [GHSA-hxwc-5vw9-2w4w](https://github.com/advisories/GHSA-hxwc-5vw9-2w4w), CC-BY-4.0, modified 2021-09-27

---

Page: https://cve.day/GHSA-hxwc-5vw9-2w4w · Whole record: https://cve.day/GHSA-hxwc-5vw9-2w4w.json · Rebuilt by cve.day 2026-11-25T22:56:45.686Z
