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.
| Software | From | Fixed in |
|---|---|---|
mongoose
|
8.0.0-rc0 | 8.9.5 |
mongoose
|
7.0.0-rc0 | 7.8.4 |
mongoose
|
- | 6.13.6 |
| mongoosejs / mongoose | - | 6.13.6 |
| mongoosejs / mongoose | 7.0.0 | 7.8.4 |
| mongoosejs / mongoose | 8.0.0 | 8.9.5 |