CVE-2025-57330
Web3js Web3-core-subscriptions 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.
Affected products
Web3-core-subscriptions. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Web3js Web3-core-subscriptions runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57330 · Third Party Advisory
- github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-subscript
- nvd.nist.gov/vuln/detail/CVE-2025-57330
- github.com/web3/web3.js/commit/d9660426c12210c5071aeb4e1a647c6ea9d67b12
- github.com/advisories/GHSA-hhf6-3xpg-pggx
- nvd.nist.gov/vuln/detail/CVE-2025-57330
- cve.org/CVERecord?id=CVE-2025-57330
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.