SQL Injection in Mongoosejs Mongoose
CVE-2024-53900
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.040, 90.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mongoosejs Mongoose — versions 7.0.0, 8.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- www-spam/CVE-2024-53900 (last pushed 2025-08-22)
- Gokul-Krishnan-V-R/CVE-2024-53900 (last pushed 2025-04-03): Mongo Vulnub Lab...Try to Hack IT.....!
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, NamhyeonKo/mongoose-cve-lab, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.npmjs.com/package/mongoose (Product)
- github.com/Automattic/mongoose/releases (Release Notes)
- github.com/Automattic/mongoose/blob/master/CHANGELOG.md (Release Notes)
- github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156 (Patch)
- github.com/advisories/GHSA-m7xq-9374-9rvx (Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.