# CVE-2025-57328: toggle-array vulnerable to prototype pollution

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-24T00:00:00.000Z
- Modified: 2026-06-17T09:43:02.470Z
- Also known as: GHSA-34q3-8x9v-j957
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- toggle-array (npm): up to 1.0.1
- jonschlinkert toggle-array: up to 1.0.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/toggle-array%401.0.1/index.js> (exploit, broken-link, web)
- <https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57328> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57328> (advisory)
- <https://github.com/jonschlinkert/toggle-array> (package)

## Sources

- CVE List: [CVE-2025-57328](https://www.cve.org/CVERecord?id=CVE-2025-57328), CVE Terms of Use, modified 2025-09-29
- GitHub Advisory Database: [GHSA-34q3-8x9v-j957](https://github.com/advisories/GHSA-34q3-8x9v-j957), CC-BY-4.0, modified 2025-09-26
- NVD: [CVE-2025-57328](https://nvd.nist.gov/vuln/detail/CVE-2025-57328), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57328 · Whole record: https://cve.day/CVE-2025-57328.json · Rebuilt by cve.day 2026-11-25T22:59:05.146Z
