{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-23061","published":"2025-01-15T05:15:10.517000Z","last_modified":"2026-06-17T08:51:48Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mongoosejs","product":"mongoose","version_end_excluding":"6.13.6"},{"criteria":"cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mongoosejs","product":"mongoose","version_start_including":"7.0.0","version_end_excluding":"7.8.4"},{"criteria":"cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mongoosejs","product":"mongoose","version_start_including":"8.0.0","version_end_excluding":"8.9.5"}],"cpes_truncated":false,"vendors":["mongoosejs"],"products":["mongoosejs/mongoose"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vg7j-7cwx-8wgw","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"8.0.0-rc0","fixed":"8.9.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vg7j-7cwx-8wgw","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"7.0.0-rc0","fixed":"7.8.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vg7j-7cwx-8wgw","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"0","fixed":"6.13.6"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2025-23061/","html_en":"/en/cve/CVE-2025-23061/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-23061","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-23061"},"untrusted":{"vendor_name":"Mongoosejs","product_name":"Mongoose","desc_en":"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.","affected":[{"untrusted_vendor":"mongoosejs","untrusted_product":"Mongoose","versions":[]}],"references":[{"url":"https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md","tags":["Release Notes"]},{"url":"https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc","tags":["Patch"]},{"url":"https://github.com/Automattic/mongoose/releases/tag/8.9.5","tags":["Release Notes"]},{"url":"https://www.npmjs.com/package/mongoose?activeTab=versions","tags":["Product"]}]}}