CVE-2025-57330
HIGH 7.5CVSS 3.1web3-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
- 24 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1321
- Also known as
- GHSA-hhf6-3xpg-pggx
- Sources
- NVDJSONOSV GHSA-hhf6-3xpg-pggxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | web3js | web3-core-subscriptionscpe:2.3:a:web3js:web3-core-subscriptions:*:*:*:*:*:node.js:*:* |
< 1.10.4 | 1.10.4 |
| OSV | npm | web3-core-subscriptions | <= 2.0.0-alpha.1 |
References
- https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-subscriptions%401.10.4/index.js · Broken Link, WEB
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57330 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57330 · ADVISORY
- https://github.com/web3/web3.js/commit/d9660426c12210c5071aeb4e1a647c6ea9d67b12 · WEB
- https://github.com/web3/web3.js · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)