CVE-2025-23061
CRITICALCVSS 9.8/10EPSS 7.03%
Last modified
CVE-2025-23061 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 7.03% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongoosejs | Mongoose | < 6.13.6 |
| Mongoosejs | Mongoose | >= 7.0.0, < 7.8.4 |
| Mongoosejs | Mongoose | >= 8.0.0, < 8.9.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-23061?
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.
How severe is CVE-2025-23061?
CVE-2025-23061 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 7.03% probability of exploitation in the next 30 days.
How do I fix CVE-2025-23061?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2025-23061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
