GHSA-34q3-8x9v-j957
toggle-array vulnerable to prototype pollution
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | toggle-array | <= 1.0.1 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
toggle-array is a package designed to enables a property on the object at the specified index, while disabling the property on all other objects. A Prototype Pollution vulnerability in the enable and disable function of toggle-array v1.0.1 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
References
External links from the advisory. They lead to third-party sites.