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

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

  • latest version

    1.51.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    12 days ago

  • 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