CVE-2025-23061: Mongoose search injection vulnerability

Severity: Critical

CVSS Score: 9.8

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.