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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57328.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.0.1"
}
],
"cpe": "cpe:2.3:a:jonschlinkert:toggle-array:*:*:*:*:*:node.js:*:*",
"source": "CPE_RANGE"
}