CVE-2025-57328
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
toggle-array (npm)up to 1.0.1GitHub Advisory Database
jonschlinkert toggle-arrayup to 1.0.1NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHublow CVSS:4.0CVSS: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

CWE-1321

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

SourceRecordLicence
CVE ListCVE-2025-57328 changed 2025-09-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-34q3-8x9v-j957 changed 2025-09-26CC-BY-4.0
NVDCVE-2025-57328 changed 2026-06-17Public domain