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.
{ "severity": "Critical", "cpes": [ "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*" ] }