# CVE-2024-53900: Mongoose search injection vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.40%, higher than 89% of CVEs (2026-12-01)
- Published: 2024-12-02T00:00:00.000Z
- Modified: 2026-09-08T08:45:15.016Z
- Also known as: GHSA-m7xq-9374-9rvx, BIT-MONGOOSE-2024-53900
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- automattic mongoose: before 8.8.3
- mongoose (npm): from 8.0.0-rc0 before 8.8.3; from 7.0.0-rc0 before 7.8.3; from 6.0.0-rc0 before 6.13.5; from 3.6.0-rc0 before 5.13.23
- mongoosejs mongoose: before 6.13.5; from 7.0.1 before 7.8.3; from 8.0.1 before 8.8.3; 7.0.0; 8.0.0
- mongoose (Bitnami): before 6.13.5; from 7.0.0 before 8.8.3

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://www.npmjs.com/package/mongoose?activeTab=versions> (product, web)
- <https://github.com/Automattic/mongoose/releases> (article, release-notes, web)
- <https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md> (article, release-notes, web)
- <https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156> (fix, patch, web)
- <https://github.com/advisories/GHSA-m7xq-9374-9rvx> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53900> (advisory, web)
- <https://github.com/github/advisory-database/pull/6769> (web)
- <https://github.com/github/advisory-database/pull/6776> (web)
- <https://github.com/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805b> (web)
- <https://github.com/Automattic/mongoose/commit/bbb6fa7ecb44bbaf5bea955d886378a1247bce0b> (web)
- <https://github.com/Automattic/mongoose> (package)
- <https://github.com/Automattic/mongoose/compare/6.13.4...6.13.5> (web)
- <https://github.com/Automattic/mongoose/compare/7.8.2...7.8.3> (web)
- <https://github.com/Automattic/mongoose/compare/8.8.2...8.8.3> (web)

## Sources

- CVE List: [CVE-2024-53900](https://www.cve.org/CVERecord?id=CVE-2024-53900), CVE Terms of Use, modified 2025-01-06
- GitHub Advisory Database: [GHSA-m7xq-9374-9rvx](https://github.com/advisories/GHSA-m7xq-9374-9rvx), CC-BY-4.0, modified 2026-02-05
- NVD: [CVE-2024-53900](https://nvd.nist.gov/vuln/detail/CVE-2024-53900), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGOOSE-2024-53900](https://osv.dev/vulnerability/BIT-MONGOOSE-2024-53900), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-53900 · Whole record: https://cve.day/CVE-2024-53900.json · Rebuilt by cve.day 2026-11-25T22:58:49.645Z
