Advisory

GHSA-34q3-8x9v-j957

Also known as: CVE-2025-57328

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-09-24 21:30 UTC
Modified
2025-09-26 13:27 UTC

Affected packages and fixes

toggle-array

npm · All systems

Affected

  • introduced 0, last affected 1.0.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences