{"id":"BIT-mongoose-2025-23061","details":"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.","aliases":["CVE-2025-23061","GHSA-vg7j-7cwx-8wgw"],"modified":"2025-10-06T00:06:00.502Z","published":"2025-09-25T08:46:40.232Z","database_specific":{"cpes":["cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*"],"severity":"Critical"},"references":[{"type":"WEB","url":"https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc"},{"type":"WEB","url":"https://github.com/Automattic/mongoose/releases/tag/8.9.5"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23061"},{"type":"WEB","url":"https://www.npmjs.com/package/mongoose?activeTab=versions"}],"affected":[{"package":{"name":"mongoose","ecosystem":"Bitnami","purl":"pkg:bitnami/mongoose"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.0.0"},{"fixed":"6.13.6"},{"introduced":"7.0.0"},{"fixed":"7.8.4"},{"introduced":"8.0.0"},{"fixed":"8.9.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/mongoose/BIT-mongoose-2025-23061.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}