Mongoose search injection vulnerability
Mongoose versions prior to 8.9.5, 7.8.4, and 6.13.6 are vulnerable to improper use of the `$where` operator. This vulnerability arises from the ability of the `$where` clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2025-23061US | critical9.8 | Exploit | ||
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-2… | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/Automattic/mongoosePACKAGE
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdWEB
- https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bcWEB
- https://github.com/Automattic/mongoose/compare/6.13.5...6.13.6WEB
- https://github.com/Automattic/mongoose/compare/7.8.3...7.8.4WEB
- https://github.com/Automattic/mongoose/compare/8.9.4...8.9.5WEB
- https://github.com/Automattic/mongoose/releases/tag/6.13.6WEB
- https://github.com/Automattic/mongoose/releases/tag/7.8.4WEB
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan