GHSA-27v7-qhfv-rqq8
LOW 3.3CVSS 3.1Insecure Credential Storage in web3
All versions of web3 are vulnerable to Insecure Credential Storage. The package stores encrypted wallets in local storage and requires a password to load the wallet. Once the wallet is loaded, the private key is accessible via LocalStorage. Exploiting this vulnerability likely requires a Cross-Site Scripting vulnerability to access the private key.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | web3 | <= 1.5.2 |
References
- https://github.com/ethereum/web3.js/issues/2739 · WEB
- https://github.com/ethereum/web3.js · PACKAGE
- https://snyk.io/vuln/SNYK-JS-WEB3-174533 · WEB
- https://www.npmjs.com/advisories/877 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 May 2019)