7.5high
toggle-array vulnerable to prototype pollution
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-34q3-8x9v-j957
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| toggle-array (npm) | up to 1.0.1 | GitHub Advisory Database |
| jonschlinkert toggle-array | up to 1.0.1 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
toggle-array es un paquete diseñado para habilitar una propiedad en el objeto en el índice especificado, mientras deshabilita la propiedad en todos los demás objetos. Una vulnerabilidad de Contaminación de Prototipos en las funciones enable y disable de toggle-array v1.0.1 y versiones anteriores permite a los atacantes inyectar propiedades en Object.prototype mediante el suministro de una carga útil manipulada, causando denegación de servicio (DoS) como consecuencia mínima.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-57328 changed 2025-09-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-34q3-8x9v-j957 changed 2025-09-26 | CC-BY-4.0 |
| NVD | CVE-2025-57328 changed 2026-06-17 | Public domain |