GHSA-27v7-qhfv-rqq8
3.3low
Insecure Credential Storage in web3
- Severity
- 3.3low CVSS:3.1 by GitHub
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| web3 (npm) | up to 1.5.2 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-27v7-qhfv-rqq8 changed 2021-08-31 | CC-BY-4.0 |