CVE-2025-23061
published critical CVSS 3.1 · 9.0Mongoose vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mongoosejs | — | Mongoose6.0.0 to < 6.13.6 · 7.0.0 to < 7.8.4 · 8.0.0 to < 8.9.5 · Other versions: unknown | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mongoosejs | Mongoose | 6.0.0 to < 6.13.6 (affected · semver)7.0.0 to < 7.8.4 (affected · semver)8.0.0 to < 8.9.5 (affected · semver)Default: unknown | mitre · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bc47e891f084cb0a815c9a96b7c6be67d949ac1f5cfed10c11793cd0a4b3a377
- Ingested
- 23 Sep 2026, 08:40:42 UTC
- Source record
- Official CVE record