Loading advisory.
Loading advisory.
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.
Published 2025-01-15 00:00 UTC · Modified 2025-10-03 15:40 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| mongoose | npm | >= 8.0.0-rc0, < 8.9.5 >= 7.0.0-rc0, < 7.8.4 < 6.13.6 | 8.9.5, 7.8.4, 6.13.6 | npm install mongoose@8.9.5npm install mongoose@7.8.4npm install mongoose@6.13.6 |
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.072 on 2026-11-24 to 0.043 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.072 | first score | v2026.06.15 |
| 2026-11-26 | 0.043 | 0.072 | v2026.06.15 |