Live threats

All CVEs / Mongoosejs

CVE-2024-53900Mongoosejs Mongoose

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
2.7%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Dec 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongoose.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mongoose ≥ 8.0.0-rc0 < 8.8.3 8.8.3 npm install mongoose@8.8.3
npm mongoose ≥ 7.0.0-rc0 < 7.8.3 7.8.3 npm install mongoose@7.8.3
npm mongoose ≥ 6.0.0-rc0 < 6.13.5 6.13.5 npm install mongoose@6.13.5
npm mongoose ≥ 3.6.0-rc0 < 5.13.23 5.13.23 npm install mongoose@5.13.23

Per OSV / GitHub Advisories (GHSA-m7xq-9374-9rvx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongoosejsmongoose< 6.13.5
mongoosejsmongoose≥ 7.0.1 < 7.8.3
mongoosejsmongoose≥ 8.0.1 < 8.8.3
mongoosejsmongoose7.0.0
mongoosejsmongoose8.0.0

Official sources

References

Links published by the sources. Open them with care.