CVE-2025-1691
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-1691 affects the MongoDB Shell (mongosh) and was disclosed on February 27, 2025. The vulnerability is a control character injection issue in the mongosh autocomplete feature that affects versions prior to 2.3.9. The vulnerability requires user interaction and is only exploitable when mongosh is connected to a cluster that is partially or fully controlled by an attacker (MongoDB Issue, NVD).

Technical details

The vulnerability is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). It has been assigned a CVSS v3.1 base score of 7.6 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H, indicating network accessibility, high attack complexity, high privileges required, user interaction required, and high impacts on confidentiality, integrity, and availability (MongoDB Issue).

Impact

If successfully exploited, an attacker can use the autocompletion feature to input and run obfuscated malicious text. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability when successfully exploited (MongoDB Issue).

Mitigation and workarounds

Users should upgrade to MongoDB Shell version 2.3.9 or later to address this vulnerability (MongoDB Issue).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management