CVE-2025-57328
Jonschlinkert Toggle-array vulnerability
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.
Affected products
Toggle-array. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jonschlinkert Toggle-array runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57328 · Third Party Advisory
- github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/toggle-array%401.0.
- nvd.nist.gov/vuln/detail/CVE-2025-57328
- github.com/advisories/GHSA-34q3-8x9v-j957
- nvd.nist.gov/vuln/detail/CVE-2025-57328
- cve.org/CVERecord?id=CVE-2025-57328
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.