GitHub Advisoryadvisory · npm
GHSA-6fh5-8wq8-w3wr Prototype Pollution in unflatten
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- unflatten
- Severity
- High
- Weaknesses
- CWE-1321
- Reviewed
- 2020-08-31
Affected packages
• npm unflatten: >= 0.0.0 (no fix yet)
Description
All versions of `unflatten` are vulnerable to prototype pollution. The function `unflatten` does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness