Description
Versions of the package mongo-object before 3.0.3 are vulnerable to Prototype Pollution via the expandKey() function in util.js. An attacker can modify the JavaScript prototype chain by supplying a crafted property path containing special keys such as __proto__.
Metrics
CVSS 3.1 4.0/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| n/a | mongo-object | < 3.0.3 |
References
- https://github.com/longshotlabs/mongo-object/blob/4f7a570f2a2fcfa9417b7870d5f859e9574ec73c/src/util.ts%23L251
- https://github.com/longshotlabs/mongo-object/commit/638314107d8b397e5453c28e41729522b3e8d67c
- https://github.com/longshotlabs/mongo-object/issues/27
- https://security.snyk.io/vuln/SNYK-JS-MONGOOBJECT-13816714
- https://github.com/longshotlabs/mongo-object/issues/27
Timeline
- Published
- Jul 21, 2026
- Last modified
- Jul 23, 2026
- NVD status
- Awaiting Analysis