Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mongo-express
  4. ›
  5. CVE-2019-10758

CVE-2019-10758: Remote Code Execution Vulnerability in NPM mongo-express

December 30, 2019 (updated July 28, 2025)

Remote code execution on the host machine by any authenticated user.

References

  • github.com/advisories/GHSA-h47j-hc6x-h3qq
  • github.com/mongo-express/mongo-express
  • github.com/mongo-express/mongo-express/blob/ea02b364d43f179f191fc91fb9962efdb0843a8d/lib/bson.js
  • github.com/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494
  • github.com/mongo-express/mongo-express/commit/d8c9bda46a204ecba1d35558452685cd0674e6f2
  • github.com/mongo-express/mongo-express/pull/522
  • github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq
  • nvd.nist.gov/vuln/detail/CVE-2019-10758
  • snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758

Code Behaviors & Features

Detect and mitigate CVE-2019-10758 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.54.0

Fixed versions

  • 0.54.0

Solution

Upgrade to version 0.54.0 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/mongo-express/CVE-2019-10758.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 05 Sep 2025 12:17:57 +0000.