VYPR

npm package

mongoose

pkg:npm/mongoose

Vulnerabilities (8)

  • CVE-2026-125120CriNov 9, 2026
    affected < 6.13.11fixed 6.13.11

    Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2, Mongoose countDocuments() does not apply the configured sanitizeFilter query selector injection defense. An application that enables sanitizeFi

  • CVE-2026-125119HigNov 9, 2026
    affected >= 6.0.0, < 6.13.12fixed 6.13.12

    Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casti

  • CVE-2026-42334HigMay 14, 2026
    affected < 6.13.9fixed 6.13.9

    Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.9, 7.8.9, 8.22.1, and 9.1.6, a vulnerability allows bypassing Mongoose’s sanitizeFilter query sanitization mechanism via the $nor operator. When sanitizeFilter is enabled, Mo

  • CVE-2025-23061CriJan 15, 2025
    affected >= 8.0.0-rc0, < 8.9.5fixed 8.9.5

    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.

  • CVE-2024-53900CriDec 2, 2024
    affected >= 8.0.0-rc0, < 8.8.3fixed 8.8.3

    Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.

  • CVE-2023-3696CriJul 17, 2023
    affected >= 7.0.0, < 7.3.3fixed 7.3.3

    Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.

  • CVE-2022-2564CriJul 28, 2022
    affected >= 6.0.0, < 6.4.6fixed 6.4.6

    Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.

  • CVE-2019-17426CriOct 10, 2019
    affected >= 5.0.0, < 5.7.5fixed 5.7.5

    Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's f