component-flatten vulnerable to Prototype Pollution
Date: 2022-05
Affected: npm/component-flatten
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2019-10794
CWE: CWE-74
CVSS: 6.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)

All versions of component-flatten are vulnerable to Prototype Pollution. The a function could be tricked into adding or modifying properties of Object.prototype using a `__proto__` payload.


Mitigations:

Architectural layers (MAESTRO):