mongoose vulnerabilities
Mongoose MongoDB ODM
- Registry
- npm
- Latest
- 9.11.3
- License
- MIT
9 known advisories
The latest version, 9.11.3, is not affected by any of them. Projects on older versions may be.
npm install mongoose@9.11.3Security advisories for mongoose
Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
- Affected
- <6.13.10 · >=7.0.0 <7.8.10 · >=8.0.0 <8.24.1 · >=9.0.0 <9.7.2
- Fixed in
- 6.13.10, 7.8.10, 8.24.1, 9.7.2
Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
- Affected
- <6.13.9 · >=7.0.0 <7.8.9 · >=8.0.0 <8.22.1 · >=9.0.0 <9.1.6
- Fixed in
- 6.13.9, 7.8.9, 8.22.1, 9.1.6
Mongoose search injection vulnerability
- Affected
- >=8.0.0-rc0 <8.9.5 · >=7.0.0-rc0 <7.8.4 · <6.13.6
- Fixed in
- 6.13.6, 7.8.4, 8.9.5
Mongoose search injection vulnerability
- Affected
- >=8.0.0-rc0 <8.8.3 · >=7.0.0-rc0 <7.8.3 · >=6.0.0-rc0 <6.13.5 · >=3.6.0-rc0 <5.13.23
- Fixed in
- 5.13.23, 6.13.5, 7.8.3, 8.8.3
Mongoose Prototype Pollution vulnerability
- Affected
- >=7.0.0 <7.3.3 · >=6.0.0 <6.11.3 · <5.13.20
- Fixed in
- 5.13.20, 6.11.3, 7.3.3
Mongoose Vulnerable to Prototype Pollution in Schema Object
- Affected
- >=6.0.0 <6.4.6 · <5.13.15
- Fixed in
- 5.13.15, 6.4.6
automattic/mongoose vulnerable to Prototype pollution via Schema.path
- Affected
- >=6.0.0 <6.4.6 · <5.13.15
- Fixed in
- 5.13.15, 6.4.6
Remote Memory Exposure in mongoose
- Affected
- >=3.5.5 <3.8.39 · >=4.0.0 <4.3.6
- Fixed in
- 3.8.39, 4.3.6
Improper Input Validation in Automattic Mongoose
- Affected
- >=5.0.0 <5.7.5 · <4.13.21
- Fixed in
- 4.13.21, 5.7.5
Which of your client projects still run an old mongoose?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.