CVE-2025-23061

published 15 Jan 2025 · updated 15 Jan 2025

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection

10.0CriticalCVSS 9.0EPSS 7%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. Fixed in 6.13.6, 7.8.4 and 8.9.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mongoosejs>=6.0.0 <6.13.6, >=7.0.0 <7.8.4, >=8.0.0 <8.9.56.13.6, 7.8.4, 8.9.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-23061 severity on Zeptric[![CVE-2025-23061](https://zeptric.io/badge/cve/CVE-2025-23061.svg)](https://zeptric.io/cve/CVE-2025-23061)