GitHub Advisoryadvisory · npm
GHSA-973h-3x6p-qg37 MongoDB Shell may be susceptible to control character injection via pasting
MEDIUM
Official page ↗
- Aliases
- CVE-2025-1692
- Ecosystem
- npm
- Packages
- mongosh
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-150
- Reviewed
- 2025-02-27
Affected packages
• npm mongosh: < 2.3.9 → fixed in 2.3.9
Description
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text into mongosh that evaluates arbitrary code. Control characters in the pasted text can be used to obfuscate malicious code. This issue affects mongosh versions prior to 2.3.9.
Related
Alias · CVE (1)
- CVE-2025-1692 The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate… vulnerability
Weakness · CWE (1)
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences weakness