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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-31062 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.
Github GHSA Github GHSA GHSA-34q3-8x9v-j957 toggle-array vulnerable to prototype pollution
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 20 Oct 2025 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Jonschlinkert
Jonschlinkert toggle-array
CPEs cpe:2.3:a:jonschlinkert:toggle-array:*:*:*:*:*:node.js:*:*
Vendors & Products Jonschlinkert
Jonschlinkert toggle-array

Mon, 29 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1321
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 24 Sep 2025 19:30:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-29T17:53:41.317Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57328

cve-icon Vulnrichment

Updated: 2025-09-29T17:45:55.748Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-24T20:15:32.540

Modified: 2025-10-20T16:50:08.890

Link: CVE-2025-57328

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.