Cross-Site Request Forgery (CSRF) Affecting mongo-express package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (10th 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?

A fix was pushed into the master branch but not yet published.

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