CVE-2025-23061

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
15/01/2025
Last modified:
31/10/2025

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* 6.13.6 (excluding)
cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* 7.0.0 (including) 7.8.4 (excluding)
cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* 8.0.0 (including) 8.9.5 (excluding)