~ / search / GHSA-973h-3x6p-qg37

GHSA-973h-3x6p-qg37

MongoDB Shell may be susceptible to control character injection via pasting

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-1692

Packages

EcosystemPackageAffectedFixed in
npm mongosh < 2.3.9 2.3.9

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.