Skip to content
CVE PROGRAM SOURCE RECORD9.0 Critical

CVE-2025-23061

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-2

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mongoosejs Mongoose

Default version status: unknown

  • 6.0.0 to < 6.13.6affected
  • 7.0.0 to < 7.8.4affected
  • 8.0.0 to < 8.9.5affected

References