CVE-2024-53900
criticalpriority · track · 11EPSS 0.040 · 90 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- Gokul-Krishnan-V-R/CVE-2024-53900Mongo Vulnub Lab...Try to Hack IT.....!PoC · poc_in_github
- www-spam/CVE-2024-53900www-spam/CVE-2024-53900PoC · poc_in_github
affected products (15)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-m7xq-9374-9rvxMongoose search injection vulnerability2024-12-02ghsa · osvUS
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.
- BIT-mongoose-2024-539002025-10-02vendor · osvUS
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdcnnvd
- https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156cnnvd
- https://github.com/Automattic/mongoose/releasescnnvd
- https://github.com/advisories/GHSA-m7xq-9374-9rvxcnnvd
- https://www.npmjs.com/package/mongoose?activeTab=versionscnnvd
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdenisa_euvd
- https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156enisa_euvd
- https://github.com/Automattic/mongoose/releasesenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan