Loading advisory.
Loading advisory.
Mongoose search injection vulnerability
Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 are vulnerable to improper use of the $where operator.
Published 2024-12-02 00:00 UTC · Modified 2026-02-05 00:01 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| mongoose | npm | >= 8.0.0-rc0, < 8.8.3 >= 7.0.0-rc0, < 7.8.3 >= 6.0.0-rc0, < 6.13.5 >= 3.6.0-rc0, < 5.13.23 | 8.8.3, 7.8.3, 6.13.5, 5.13.23 | npm install mongoose@8.8.3npm install mongoose@7.8.3npm install mongoose@6.13.5npm install mongoose@5.13.23 |
Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 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.
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.034 on 2026-11-24 to 0.027 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.034 | first score | v2026.06.15 |
| 2026-11-26 | 0.027 | 0.034 | v2026.06.15 |