Description
MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to versions 6.6.10 and 7.0.6, a prototype pollution vulnerability exists in the Utils.merge helper used internally by MikroORM when merging object structures. The function did not prevent special keys such as __proto__, constructor, or prototype, allowing attacker-controlled input to modify the JavaScript object prototype when merged. This issue has been patched in versions 6.6.10 and 7.0.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mikro-orm | mikro-orm | < 6.6.10, >= 7.0.0-rc.0, < 7.0.6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @mikro-orm/core | < 6.6.10 | 6.6.10 | GHSA-qpfv-44f3-qqx6 |
| npm | @mikro-orm/core | >= 7.0.0-dev.0, < 7.0.6 | 7.0.6 | GHSA-qpfv-44f3-qqx6 |