CVE-2023-3696 — Vulnerability in mongoose — CVE Details
Mongoose Prototype Pollution vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.39%). Schedule for your next planned update.
Does your project use an affected mongoose version?
Paste your package-lock.json to check it for CVE-2023-3696 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.3, 6.11.3, and 5.13.20.
Advisory Timeline
- First published July 17, 2023 (1229 days ago).
- Last revised December 6, 2023 — 142 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install mongoose@5.13.20
npm install mongoose@7.3.3
npm install mongoose@6.11.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-3696ADVISORY
- https://github.com/Automattic/mongoose/commit/e29578d2ec18a68aeb4717d66dd5eb66bae53de1WEB
- https://github.com/Automattic/mongoose/commit/f1efabf350522257364aa5c2cb36e441cf08f1a2WEB
- https://github.com/automattic/mongoose/commit/305ce4ff789261df7e3f6e72363d0703e025f80dWEB
- https://github.com/Automattic/mongoosePACKAGE
- https://github.com/Automattic/mongoose/releases/tag/7.3.3WEB
- https://huntr.dev/bounties/1eef5a72-f6ab-4f61-b31d-fc66f5b4b467WEB
Frequently Asked Questions
- What is CVE-2023-3696?
- Mongoose Prototype Pollution vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2023-3696?
- CVE-2023-3696 affects mongoose. It has a 1.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-3696 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 72.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2026-125120CRITICAL
Mongoose: sanitizeFilter not applied on countDocuments
- CVE-2025-23061CRITICAL
Mongoose search injection vulnerability
- CVE-2026-125117HIGH
Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema state
- CVE-2024-53900HIGH
Mongoose search injection vulnerability