Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVE-2025-57330
Summary
The web3-core-subscriptions is a package designed to manage web3 subscriptions. A Prototype Pollution vulnerability in the "attachToObject()" function of web3-core-subscriptions 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