CVE-2025-23061
CRITICAL EPSS 93.4%
Published Jan 15, 20251y ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Published Jan 15, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
Description
Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
93.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-94 Improper Control of Generation of Code (Code Injection) Injection
Affected Products 3
| Vendor | Product | Version | Range |
|---|---|---|---|
| mongoosejs | mongoose | * | <6.13.6 |
| mongoosejs | mongoose | * | ≥7.0.0 – <7.8.4 |
| mongoosejs | mongoose | * | ≥8.0.0 – <8.9.5 |
References 4
- github.com https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
- github.com https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc
- github.com https://github.com/Automattic/mongoose/releases/tag/8.9.5
- npmjs.com https://www.npmjs.com/package/mongoose?activeTab=versions
Remediation
- github.com https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc