Low severityNVD Advisory· Published Sep 24, 2025· Updated Sep 29, 2025
CVE-2025-57328
CVE-2025-57328
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
toggle-arraynpm | <= 1.0.1 | — |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-34q3-8x9v-j957ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-57328ghsaADVISORY
- github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/toggle-array%401.0.1/index.jsghsaWEB
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57328ghsaWEB
News mentions
0No linked articles in our index yet.