@mikro-orm/core is vulnerable to Prototype Pollution
37
CVE Score
Low
Prototype Pollution
Utils.copy() in @mikro-orm/core builds the copy with Object.create() and then assigns each enumerable key onto it. An own __proto__ key, as produced by JSON.parse(), reaches the inherited setter and replaces the copy's prototype instead of being copied. Untrusted JSON reaching copy paths therefore replace the copied object's prototype, bypassing the guards from earlier prototype pollution fixes. The fix skips an own __proto__ key when cloning.
Upgrade the @mikro-orm/core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application passes data parsed from untrusted JSON into MikroORM APIs that copy it.
5.0.1 - 7.1.10
Fixed in 7.1.11@mikro-orm/core is vulnerable to Prototype Pollution in versions 5.0.1 - 7.1.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.