CVE-2025-57328 toggle-array vulnerable to prototype pollution
HighCVSS 7.5
EPSS 0.39%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| jonschlinkert toggle-array | <= 1.0.1 | after 1.0.1 | Fixed |
| npm toggle-array(npm) | <= 1.0.1 | after 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm toggle-array(npm) | <= 1.0.1 | No fix listed |
| jonschlinkert toggle-array | <= 1.0.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com broken-link exploit
- github.com exploit third-party-advisory
- github.com
- github.com product