GitHub Advisoryadvisory · npm
GHSA-hhf6-3xpg-pggx web3-core-subscriptions has a Prototype Pollution vulnerability
LOW
Official page ↗
- Aliases
- CVE-2025-57330
- Ecosystem
- npm
- Packages
- web3-core-subscriptions
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- Weaknesses
- CWE-1321
- Reviewed
- 2025-09-25
Affected packages
• npm web3-core-subscriptions: <= 2.0.0-alpha.1 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-57330 The web3-core-subscriptions is a package designed to manages web3 subscriptions. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-57330 advisory
- https://github.com/web3/web3.js/commit/d9660426c12210c5071aeb4e1a647c6ea9d67b12 web
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-subscriptions%401.10.4/index.js web
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57330 web
- https://github.com/web3/web3.js package