← Vulnerability feed

Vulnerability record · CVE-2025-23061 · published 15 January 2025

CVE-2025-23061: Mongoosejs mongoose code injection vulnerability

Mongoosejs · Mongoose

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.

9.8 CVSS 3.1 Critical EPSS 7.3% · top 5.8% CWE-94 · Code injection
9.8CVSS 3.1 base score
7.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-23061 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-3696Mongoosejs mongoose prototype pollution vulnerabilityPrototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.EPSS 1.2%9.8CVE-2022-2564Mongoosejs mongoose prototype pollution vulnerabilityPrototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.EPSS 33%9.1CVE-2024-53900Mongoosejs mongoose sql injection vulnerabilityMongoose before 8.8.3 can improperly use $where in match, leading to search injection.EPSS 4.0%9.1CVE-2019-17426Mongoosejs mongoose vulnerabilityAutomattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribut…EPSS 1.7%7.5CVE-2026-42334Mongoosejs mongoose injection vulnerabilityMongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.9, 7.8.9, 8.22.1, and 9.1.6, a vulnerabilit…EPSS 0.46%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed

Source: NIST National Vulnerability Database (record CVE-2025-23061), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.