CVE-2025-23061

critical

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.

References

https://www.npmjs.com/package/mongoose?activeTab=versions

https://github.com/Automattic/mongoose/releases/tag/8.9.5

https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc

https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md

Details

Source: Mitre, NVD

Published: 2025-01-15

Updated: 2025-01-15

Risk Information

CVSS v2

Base Score: 7.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Severity: Critical