npm package
mongoose 4.13.17 vulnerabilities, and the version that fixes all of them
mongoose 4.13.17 has 8 known vulnerabilities (7 rated high or critical); 6.13.10 fixes all of them.
npm (opens in a new tab) describes it as “Mongoose MongoDB ODM”
- Known vulnerabilities
- 8
- 7 rated high or critical
- Released
- Aug 30, 2018
- Latest is 9.11.2
- Downloads last week
- 412
- Under 1% of mongoose downloads
- Licence
- MIT
- Pulls in
- 31 packages
- Resolved by deps.dev
What to upgrade to
6.13.10 is the closest release with no known vulnerabilities.
Newest 4.x release. Released Jul 12, 2020.
7 known vulnerabilities, worst rated warning6.13.10Upgrade to this
Fixes all 8 known vulnerabilities. Released Jun 22, 2026.
No known vulnerabilitiesLatest release. Released Oct 12, 2026.
No known vulnerabilities
6.13.10 came out on Jun 22, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
8 known vulnerabilities in mongoose 4.13.17
EPSS: top 2%7 rated high or critical. Most serious: CVE-2022-2564, automattic/mongoose vulnerable to Prototype pollution via Schema.path. Upgrading to 6.13.10 fixes all of them.
- WarningOutdated
mongoose 4.13.17 is 5 major versions behind
Latest release is 9.11.2.
Every advisory for mongoose 4.13.17
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2022-2564 on OSV.dev (opens in a new tab)GHSA-f825-f98c-gj3gEPSS: top 2%
automattic/mongoose vulnerable to Prototype pollution via Schema.path
Fixed in 5.13.15. Published Jul 29, 2022.
CriticalCVE-2025-23061 on OSV.dev (opens in a new tab)GHSA-vg7j-7cwx-8wgwEPSS: top 6%
Mongoose search injection vulnerability
Fixed in 6.13.6. Published Jan 15, 2025.
CriticalCVE-2024-53900 on OSV.dev (opens in a new tab)GHSA-m7xq-9374-9rvxEPSS: top 10%
Mongoose search injection vulnerability
Fixed in 5.13.23. Published Dec 2, 2024.
CriticalCVE-2019-17426 on OSV.dev (opens in a new tab)GHSA-8687-vv9j-hgphEPSS: top 24%
Improper Input Validation in Automattic Mongoose
Fixed in 4.13.21. Published Oct 22, 2019.
CriticalCVE-2023-3696 on OSV.dev (opens in a new tab)GHSA-9m93-w8w6-76hhEPSS: top 33%
Mongoose Prototype Pollution vulnerability
Fixed in 5.13.20. Published Jul 17, 2023.
WarningCVE-2026-73562 on OSV.dev (opens in a new tab)GHSA-664h-wqgq-64gwEPSS: top 59%
Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Fixed in 6.13.10. Published Jul 24, 2026.
CriticalCVE-2026-42334 on OSV.dev (opens in a new tab)GHSA-wpg9-53fq-2r8hEPSS: top 62%
Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
Fixed in 6.13.9. Published May 5, 2026.
CriticalCVE-2022-24304 on OSV.dev (opens in a new tab)GHSA-h8hf-x3f4-xwgp
Mongoose Vulnerable to Prototype Pollution in Schema Object
Fixed in 5.13.15. Published Aug 27, 2022.
Who is still on a vulnerable mongoose
45% of last week’s 6.8M mongoose downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is mongoose the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly mongoose 4.13.17, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.