{"id":"GHSA-34q3-8x9v-j957","summary":"toggle-array vulnerable to prototype pollution","details":"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.","aliases":["CVE-2025-57328"],"modified":"2025-09-26T13:27:21.888660Z","published":"2025-09-24T21:30:37Z","database_specific":{"github_reviewed_at":"2025-09-26T12:55:31Z","nvd_published_at":"2025-09-24T20:15:32Z","cwe_ids":["CWE-1321"],"severity":"LOW","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57328"},{"type":"WEB","url":"https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/toggle-array%401.0.1/index.js"},{"type":"WEB","url":"https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57328"},{"type":"PACKAGE","url":"https://github.com/jonschlinkert/toggle-array"}],"affected":[{"package":{"name":"toggle-array","ecosystem":"npm","purl":"pkg:npm/toggle-array"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-34q3-8x9v-j957/GHSA-34q3-8x9v-j957.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}