CVE-2024-53900 Mongoose search injection vulnerability
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-53900?
CVE-2024-53900 is a critical vulnerability in n/a, published on 2 Dec 2024.
Official description
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
Weakness: CWE-89
Which versions are affected by CVE-2024-53900?
9 open source packages ship an affected version, including mongoose. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mongoose Bitnami | All versions | 6.13.5, 8.8.3 |
mongoose npm | From 3.6.0-rc0 | 5.13.23 |
mongoose npm | From 3.6.0-rc0 | 5.13.23 |
mongoose npm | From 6.0.0-rc0 | 6.13.5 |
mongoose npm | From 6.0.0-rc0 | 6.13.5 |
mongoose npm | From 7.0.0-rc0 | 7.8.3 |
3 more packages
mongoose npm | From 7.0.0-rc0 | 7.8.3 |
mongoose npm | From 8.0.0-rc0 | 8.8.3 |
mongoose npm | From 8.0.0-rc0 | 8.8.3 |
Products include Mongoosejs Mongoose.
How do I fix CVE-2024-53900?
Upgrade mongoose to a fixed version for your release line: 6.13.5, 8.8.3, 5.13.23 or 7.8.3.
Is CVE-2024-53900 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-53900 exists.
Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2023-3696 Prototype Pollution in automattic/mongoose
- CVE-2019-17426 Improper Input Validation in Automattic Mongoose
- CVE-2025-23061 Mongoose search injection vulnerability
- CVE-2026-42334 Mongoose: Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
- CVE-2022-2564 Prototype Pollution in automattic/mongoose
Sources
Also known as BIT-mongoose-2024-53900, CLSA-2026-1774916718, GHSA-m7xq-9374-9rvx, ROOT-APP-NPM-CVE-2024-53900.