CRITICAL 9.8 npm

Mongoose search injection vulnerability

GHSA-m7xq-9374-9rvx · BIT-mongoose-2024-53900 · CVE-2024-53900

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.

Ready to move

Start Securing

Free, no credit card | First findings in minutes