CVE-2024-53900Published Dec 2, 2024 · Dec 2Updated Oct 28
Mongoose search injection vulnerability
Critical9.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mongoose npm |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| mongoose npm |
|
|
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
From the CVE record · mitre
Mongoose can improperly use $where in match, allowing search injection. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Teams using the npm mongoose package should check versions >=8.0.0-rc0 <8.8.3, >=7.0.0-rc0 <7.8.3, >=6.0.0-rc0 <6.13.5, or >=3.6.0-rc0 <5.13.23.