CVE-2024-53900 — Vulnerability in mongoose — CVE Details
Mongoose search injection vulnerability
Summary
Advisory Timeline
- First published December 2, 2024 (679 days ago).
- Last revised February 5, 2026 — 429 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install mongoose@7.8.3
npm install mongoose@6.13.5
npm install mongoose@5.13.23
npm install mongoose@8.8.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-53900ADVISORY
- https://github.com/github/advisory-database/pull/6769WEB
- https://github.com/github/advisory-database/pull/6776WEB
- https://github.com/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805bWEB
- https://github.com/Automattic/mongoose/commit/bbb6fa7ecb44bbaf5bea955d886378a1247bce0bWEB
- https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156WEB
- https://github.com/Automattic/mongoosePACKAGE
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdWEB
- https://github.com/Automattic/mongoose/compare/6.13.4...6.13.5WEB
- https://github.com/Automattic/mongoose/compare/7.8.2...7.8.3WEB
- https://github.com/Automattic/mongoose/compare/8.8.2...8.8.3WEB
- https://github.com/Automattic/mongoose/releasesWEB
- https://www.npmjs.com/package/mongoose?activeTab=versionsWEB
Frequently Asked Questions
- What is CVE-2024-53900?
- Mongoose search injection vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-53900?
- CVE-2024-53900 affects mongoose. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-53900 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-3696CRITICAL
Mongoose Prototype Pollution vulnerability
- CVE-2025-23061CRITICAL
Mongoose search injection vulnerability
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies