Cross-Site Request Forgery (CSRF) Affecting mongo-express package, versions <1.1.0-rc-1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-MONGOEXPRESS-6347241
  • published 1 Mar 2024
  • disclosed 1 Mar 2024
  • credit Alfin Joseph

How to fix?

Upgrade mongo-express to version 1.1.0-rc-1 or higher.

Overview

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 Request Forgery (CSRF) due to insufficient protection on the /admin endpoint. An attacker can perform unauthorized actions on behalf of a logged-in user by tricking them into clicking a malicious link or visiting a crafted webpage.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None