@mongodb-js/connection-form@0.0.0-next-0d9e77c42a99b49fd4ecc7167d0c769866f92ef2 vulnerabilities

A form for specifying information needed to connect to a MongoDB instance

Direct Vulnerabilities

Known vulnerabilities in the @mongodb-js/connection-form package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • M
SQL Injection

@mongodb-js/connection-form is an A form for specifying information needed to connect to a MongoDB instance

Affected versions of this package are vulnerable to SQL Injection due to insufficient sandboxing settings for the ejson shell parser. An attacker can execute arbitrary code by injecting malicious inputs into the ejson shell parser.

How to fix SQL Injection?

Upgrade @mongodb-js/connection-form to version 1.20.1 or higher.

<1.20.1