12 matches found
Mongoose: `sanitizeFilter` bypass via MongoDB internal top-level query operators such as `$_internalSchemaXor`
Summary Mongoose's sanitizeFilter option is meant to block query selector injection. Before this fix, it only refused four top-level operators by name: $jsonSchema, $where, $expr and $text. Any other top-level $ operator was passed to MongoDB unchanged. That includes undocumented internal operato...
CVE-2026-125120
A flaw was found in Mongoose. The countDocuments function fails to apply the configured sanitizeFilter defense against query selector injection. A remote attacker could exploit this flaw by passing crafted filter queries containing database operator objects instead of literal values. Consequently...
DHI-74QN-HQGH-IXS3-NHQJ Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.11, 7.8.12…
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 sanitizeFilter and passes...
Mongoose: SanitizeFilter Not Applied On CountDocuments
Impact "sanitizeFilter" is Mongoose's mechanism for protecting against query selector injection attacks. In older versions of Mongoose, "sanitizeFilter" was not applied for "countDocuments" queries. Patches Patches have been released for all supported Mongoose major release lines. Please upgrade ...
Mongoose: Connection-level SanitizeFilter Not Applied
Summary sanitizeFilter exists to stop query selector injection: it wraps operator objects such as " $ne: null " in filter values in "$eq", so they are matched literally. Set on a connection with "mongoose.connect" or "createConnectionuri, sanitizeFilter: true ", the connection reports it as enabl...
Improper Neutralization of Special Elements in Data Query Logic
Overview org.webjars.npm:mongoose is a Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via countDocuments queries, which do not apply...
Improper Neutralization of Special Elements in Data Query Logic
Overview mongoose is a Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via countDocuments queries, which do not apply sanitizeFilter -...
GHSA-PCRW-H46H-C93H Mongoose: sanitizeFilter not applied on countDocuments
Impact sanitizeFilter is Mongoose's mechanism for protecting against query selector injection attacks. In older versions of Mongoose, sanitizeFilter was not applied for countDocuments queries. Patches Patches have been released for all supported Mongoose major release lines. Please upgrade to the...
Mongoose: sanitizeFilter not applied on countDocuments
Impact sanitizeFilter is Mongoose's mechanism for protecting against query selector injection attacks. In older versions of Mongoose, sanitizeFilter was not applied for countDocuments queries. Patches Patches have been released for all supported Mongoose major release lines. Please upgrade to the...
EUVD-2026-120503
Mongoose: sanitizeFilter not applied on countDocuments...
CVE-2026-125120 Mongoose: sanitizeFilter not applied on countDocuments
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 sanitizeFilter and passes...
PT-2026-141175
Name of the Vulnerable Software and Affected Versions Mongoose versions prior to 6.13.11 Mongoose versions prior to 7.8.12 Mongoose versions prior to 8.24.3 Mongoose versions prior to 9.9.2 Description Mongoose is a MongoDB object modeling tool for asynchronous environments. The countDocuments...