Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
All versions of component-flatten is vulnerable to Prototype Pollution. The a function could be tricked into adding or modifying properties of Object.prototype using a proto payload.