Skip to content
OpenAdvisories
High GHSA-g7h8-p22m-2rvx

Prototype Pollution in flat-wrap

Published Sep 4, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

All versions of `flat-wrap` 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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm flat-wrap >= 0.0.0 — GHSA-g7h8-p22m-2rvx

References