CVE-2025-23061

CRITICAL EPSS 93.4%
Published Jan 15, 20251y ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Jan 15, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
93.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-94 Improper Control of Generation of Code (Code Injection) Injection

Affected Products 3

VendorProductVersionRange
mongoosejsmongoose* <6.13.6
mongoosejsmongoose*≥7.0.0  –  <7.8.4
mongoosejsmongoose*≥8.0.0  –  <8.9.5

References 4

  • github.com https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
    Release Notes
  • github.com https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc
    Patch
  • github.com https://github.com/Automattic/mongoose/releases/tag/8.9.5
    Release Notes
  • npmjs.com https://www.npmjs.com/package/mongoose?activeTab=versions
    Product

Remediation

  • github.com https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc
    Patch