CVE-2024-53900: mongoosejs mongoose SQL Injection
CVSS: 9.1v3.1CriticalAnalyzed
AliasesGHSA-m7xq-9374-9rvxBIT-mongoose-2024-53900
Published 02-12-2024Last modified 06-01-2025
Vulnerability summary
CVE-2024-53900 is a critical (CVSS 9.1) SQL Injection vulnerability in mongoosejs mongoose. EPSS estimates a 3.98% chance of exploitation in the next 30 days, higher than 90.3% of scored vulnerabilities.
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)EPSS score
3.98%
0%100%
Low · +0.08 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 02-12-2024PublishedVulnerability first disclosed.
- 06-01-2025Last modifiedVulnerability information updated.
Description
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.7Preferred score · OSV · Npm (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NSourcesSingle source
Critical 9.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NSources3 sources · 9.1–9.8
- OSV · NpmEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
3.98%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.08 pp
From 3.90% on 20-09-2026
20-09-202620-10-2026
EPSS score3.98%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mongoosejs1 product
- mongoose< 6.13.5 | ≥ 7.0.1, < 7.8.3 | ≥ 8.0.1, < 8.8.3 | 7.0.0:rc0 | 8.0.0:rc0
Npm1 product
- mongoose≥ 8.0.0-rc0, < 8.8.3 | ≥ 7.0.0-rc0, < 7.8.3 | ≥ 6.0.0-rc0, < 6.13.5 | ≥ 3.6.0-rc0, < 5.13.23
2 vendors · 2 products
References
14 links- github.com/advisories/GHSA-m7xq-9374-9rvxVendor Advisory