@mongodb-js/connection-form@0.0.0-next-6668493597ecb40c41e4a2e1df51eef0a1eb1e29 vulnerabilities

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

  • latest version

    1.48.2

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    4 hours 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