toggle-array@1.0.0

In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.

Direct Vulnerabilities

Known vulnerabilities in the toggle-array package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
Prototype Pollution

toggle-array is an In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.

Affected versions of this package are vulnerable to Prototype Pollution via the enable and disable functions. An attacker can modify the prototype of base objects by supplying a crafted payload, potentially leading to application instability or denial of service.

How to fix Prototype Pollution?

There is no fixed version for toggle-array.

*