CVEvulnerability
CVE-2025-23061
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2025-01-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.0 CRITICAL — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
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.
Affected configurations
• mongoosejs mongoose (< 6.13.6)
• mongoosejs mongoose (>= 7.0.0 < 7.8.4)
• mongoosejs mongoose (>= 8.0.0 < 8.9.5)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md Release Notes
- https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc Patch
- https://github.com/Automattic/mongoose/releases/tag/8.9.5 Release Notes
- https://www.npmjs.com/package/mongoose?activeTab=versions Product