CVE-2025-57330: web3-core-subscriptions has a Prototype Pollution vulnerability
The web3-core-subscriptions is a package designed to manages web3 subscriptions. A Prototype Pollution vulnerability in the attachToObject function of web3-core-subscriptions 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.
Published Sep 24, 2025 · Updated Sep 25, 2025
Affected packages
web3-core-subscriptions
- Ecosystem
- npm
- Affected
- <= 2.0.0-alpha.1
- Fixed in
- No patched version yet
- Check
npm ls web3-core-subscriptions
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The web3-core-subscriptions is a package designed to manages web3 subscriptions. A Prototype Pollution vulnerability in the attachToObject function of web3-core-subscriptions 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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57330
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-subscriptions%401.10.4/index.js
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57330
- https://github.com/web3/web3.js/commit/d9660426c12210c5071aeb4e1a647c6ea9d67b12
- https://github.com/advisories/GHSA-hhf6-3xpg-pggx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
