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.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| mongoose(npm) | 8.0.0-rc0 | 8.9.5 | N/A |
| mongoose(npm) | 7.0.0-rc0 | 7.8.4 | N/A |
| mongoose(npm) | 0 | 6.13.6 | N/A |
CVSS Metrics