high7.5
CVE-2025-57329
web3-core-method is vulnerable to prototype pollution
Impact
web3-core-method is a package designed to creates the methods on the web3 modules. A Prototype Pollution vulnerability in the attachToObject function of web3-core-method version 1.10.4 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | web3-core-method | <= 1.10.3 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Web3js | Web3-Core-Method | through 1.10.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-method%401.10.4/index.js
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57329
- https://github.com/advisories/GHSA-2j4c-9qqq-896r
- https://nvd.nist.gov/vuln/detail/CVE-2025-57329