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. Learn more

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 Learn

Learn about Cross-Site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MONGOEXPRESS-6347241
  • published1 Mar 2024
  • disclosed1 Mar 2024
  • creditAlfin Joseph

Introduced: 1 Mar 2024

CVE-2023-52555  (opens in a new tab)
CWE-352  (opens in a new tab)

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