CVE-2025-23061Published Jan 15, 2025 · Jan 15Updated Oct 28
Mongoose search injection vulnerability
mongoosejs Mongoose
Critical9.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mongoose npm |
|
|
Original 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.