Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVE-2025-57328
Summary
The toggle-array is a package designed to enable 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" functions of toggle-array allows attackers to inject properties on "Object.prototype" via supplying a crafted payload, causing Denial of Service (DoS) as the minimum consequence.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-1321 - Prototype Pollution
Prototype pollution is one of the lesser-known vulnerabilities. It allows attackers to abuse the rules of JavaScript by injecting properties into the general object “Object” in JS. Modifying the prototype of “Object” affects the behavior of all objects in the entire app, potentially resulting in denial of service, arbitrary code execution, cross-site scripting, etc.
References
Advisory Timeline
- Published