@mongodb-js/connection-form@0.0.0-next-ed8f90bd71f084cb541f99b15caf3833ec6a953c 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