Description
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
Metrics
CVSS 3.1 9.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| automattic | mongoose | < 8.8.3 |
References
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdRelease Notes
- https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156Patch
- https://github.com/Automattic/mongoose/releasesRelease Notes
- https://github.com/advisories/GHSA-m7xq-9374-9rvxVendor Advisory
- https://www.npmjs.com/package/mongoose?activeTab=versionsProduct
Timeline
- Published
- Dec 2, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed