MongoDB Shell may be susceptible to Control Character Injection via autocomplete
- Severity:
- High
Description
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text.
Recommendation
Update the mongosh package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.3.9
- Patched version(s): 2.3.9
References
Related Issues
- MongoDB Shell may be susceptible to control character Injection via shell output - CVE-2025-1693
- Astro's bypass of image proxy domain validation leads to SSRF and potential XSS - CVE-2025-59837
- Mermaid does not properly sanitize architecture diagram iconText leading to XSS - CVE-2025-54880
- PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF - CVE-2024-4367
- Tags:
- npm
- mongosh
Anything's wrong? Let us know Last updated on February 27, 2025