Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21422

8.1 · HIGH
Published Jun 21, 2021 mongo-express_project CWE-79 EPSS 1.57% (74th pctl)

Overview

CVE-2021-21422 is a high-severity vulnerability affecting mongo-express_project mongo-express. It was published on June 21, 2021 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

mongo-express is a web-based MongoDB admin interface, written with Node.js and express. 1: As mentioned in this issue: https://github.com/mongo-express/mongo-express/issues/577, when the content of a cell grows larger than supported size, clicking on a row will show full document unescaped, however this needs admin interaction on cell. 2: Data cells identified as media will be rendered as media, without being sanitized. Example of different renders: image, audio, video, etc. As an example of type 1 attack, an unauthorized user who only can send a large amount of data in a field of a document may use a payload with embedded javascript. This could send an export of a collection to the attacker without even an admin knowing. Other types of attacks such as dropping a database\collection are possible.

Remediation

Check the references section for vendor advisories and patches from mongo-express_project. Update mongo-express to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
mongo-express_project mongo-express 0 Affected

Frequently Asked Questions

What is CVE-2021-21422?

CVE-2021-21422 is a high-severity vulnerability affecting mongo-express_project mongo-express. It was published on June 21, 2021 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2021-21422?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-21422?

Check the references section for vendor advisories and patches from mongo-express_project. Update mongo-express to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21422?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21422 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.