GitHub Advisory Database
GHSA-4vjr-hfpp-2m7w
expand-object Vulnerable to Prototype Pollution via the expand() Function
Details
Versions of the package expand-object from 0.0.0 to 0.4.2 are vulnerable to Prototype Pollution in the expand() function in index.js. This function expands the given string into an object and allows a nested property to be set without checking the provided keys for sensitive properties like __proto__.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | expand-object | All versions up to and including 0.4.2 |