Skip to main content

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

CVE-2025-57329

Severity High
Score 7.5/10

Summary

web3-core-method is a package designed to create methods on the web3 modules. A Prototype Pollution vulnerability in the "attachToObject" function of web3-core-method 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.

Advisory Timeline

  • Published