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.
CVE ID: CVE-2025-23061
CVSS Base Severity: CRITICAL
CVSS Base Score: 9.0
Vendor: mongoosejs
Product: Mongoose
EPSS Score: 0.05% (probability of being exploited)
EPSS Percentile: 17.81% (scored less or equal to compared to others)
EPSS Date: 2025-02-13 (when was this score calculated)