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