CVE-2025-23061
January 15, 2025
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 Packages
mongoose (NPM):
Affected version(s) >=8.0.0-rc0 <8.9.5Fix Suggestion:
Update to version 8.9.5mongoose (NPM):
Affected version(s) >=0.0.1 <6.13.6Fix Suggestion:
Update to version 6.13.6mongoose (NPM):
Affected version(s) >=7.0.0-rc0 <7.8.4Fix Suggestion:
Update to version 7.8.4Related ResourcesĀ (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.0
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
10.0