{"cve":"CVE-2025-23061","nvd":{"published":"2025-01-15T05:15:10.517","modified":"2026-06-17T08:51:48.000","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md","https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc","https://github.com/Automattic/mongoose/releases/tag/8.9.5","https://www.npmjs.com/package/mongoose?activeTab=versions"],"products":["mongoosejs:mongoose"],"source":"nvd","synced_at":"2026-10-19T21:58:20.756570362+00:00"},"epss":{"cve":"CVE-2025-23061","score":0.07236,"percentile":0.9433,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vg7j-7cwx-8wgw","url":"https://osv.dev/vulnerability/GHSA-vg7j-7cwx-8wgw","summary":"Mongoose search injection vulnerability","modified":"2025-10-03T15:40:22Z","packages":[{"ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[">=8.0.0-rc0 <8.9.5"],"fixed":["8.9.5"]},{"ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[">=7.0.0-rc0 <7.8.4"],"fixed":["7.8.4"]},{"ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":["<6.13.6"],"fixed":["6.13.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}