GitHub Advisoryadvisory · npm
GHSA-2j4c-9qqq-896r web3-core-method is vulnerable to prototype pollution
LOW
Official page ↗
- Aliases
- CVE-2025-57329
- Ecosystem
- npm
- Packages
- web3-core-method
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- Weaknesses
- CWE-1321
- Reviewed
- 2025-09-26
Affected packages
• npm web3-core-method: <= 1.10.3 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-57329 web3-core-method is a package designed to creates the methods on the web3 modules. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57329 advisory
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-method%401.10.4/index.js web
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57329 web
- https://github.com/web3/web3.js/tree/1.x package