Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/mongoose@8.22.1
purl pkg:npm/mongoose@8.22.1
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-fnw7-7c7z-5udv 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, Mongoose wraps query operators in $eq to neutralize them. However, prior to the fix, $nor was not included in the set of logical operators that are recursively sanitized. Because $nor accepts an array (like $and and $or), and arrays do not trigger hasDollarKeys(), malicious operators such as $ne, $gt, or $regex could be injected inside a $nor clause without being sanitized. This vulnerability is fixed in 6.13.9, 7.8.9, 8.22.1, and 9.1.6. CVE-2026-42334
GHSA-wpg9-53fq-2r8h

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T06:29:54.695913+00:00 GHSA Importer Fixing VCID-fnw7-7c7z-5udv https://github.com/advisories/GHSA-wpg9-53fq-2r8h 38.6.0
2026-06-12T22:20:42.799137+00:00 GitLab Importer Fixing VCID-fnw7-7c7z-5udv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/mongoose/CVE-2026-42334.yml 38.6.0
2026-06-12T07:51:54.079708+00:00 GithubOSV Importer Fixing VCID-fnw7-7c7z-5udv https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-wpg9-53fq-2r8h/GHSA-wpg9-53fq-2r8h.json 38.6.0