mongo-express@0.54.0 vulnerabilities

Web-based admin interface for MongoDB

Direct Vulnerabilities

Known vulnerabilities in the mongo-express package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Scripting (XSS)

mongo-express is a web-based MongoDB admin interface written with Node.js, Express and Bootstrap3

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Two XSS vectors were discovered.

The first arises as when the content of a cell grows larger than supported size, clicking on a row will show the full document unsanitized. However, this needs admin interaction on the cell.

The second arises due to data cells identified as media will be rendered without being sanitized.

How to fix Cross-site Scripting (XSS)?

Upgrade mongo-express to version 1.0.0-alpha.4 or higher.

<1.0.0-alpha.4
  • M
Denial of Service (DoS)

mongo-express is a web-based MongoDB admin interface written with Node.js, Express and Bootstrap3

Affected versions of this package are vulnerable to Denial of Service (DoS) when exporting an empty collection as CSV, due to an unhandled exception, leading to a crash.

How to fix Denial of Service (DoS)?

There is no fixed version for mongo-express.

*
  • C
Cross-site Scripting (XSS)

mongo-express is a web-based MongoDB admin interface written with Node.js, Express and Bootstrap3

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in lib/filters.js and lib/scripts/collection.js.

How to fix Cross-site Scripting (XSS)?

Upgrade mongo-express to version 1.0.0-alpha.2 or higher.

<1.0.0-alpha.2