Cyber Resilience

CVE-2024-53900

Critical

Published: 02 December 2024

Published
02 December 2024
Modified
01 October 2025
KEV Added
Patch
CVSS Score v3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.6415 98.5th percentile
Risk Priority 57 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-53900 is a critical-severity SQL Injection (CWE-89) vulnerability in Mongoosejs Mongoose. Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Mongoose versions prior to 8.8.3 contain a flaw in which the $where operator can be used improperly within match operations, resulting in search injection. The issue is tracked as CWE-89 and carries a CVSS 3.1 base score of 9.1, reflecting network attack vector, low complexity, and no requirements for authentication or user interaction.

An unauthenticated remote attacker can supply crafted input that alters query semantics, enabling extraction or manipulation of data stored through the Mongoose ODM without the application’s intended authorization checks.

References point to an official fix in release 8.8.3; the project changelog, corresponding commit, and GitHub advisory all direct users to upgrade immediately, with updated packages available on npm.

The associated EPSS score reached a peak of 0.6976 and currently stands at 0.6415, indicating that exploitation interest emerged after disclosure.

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

mongoosejs
mongoose
7.0.0, 8.0.0 · ≤ 6.13.5 · 7.0.1 — 7.8.3 · 8.0.1 — 8.8.3

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-89

Penetration testing uses SQL injection payloads against database interfaces, identifying and supporting fixes for SQL injection weaknesses.

addresses: CWE-89

Validates query inputs to prevent SQL syntax or command manipulation.

References