`chainId` may be outdated if user changes chains as part of connection in @web3-react - @web3-react/metamask
- Severity:
- Medium
Description
chainId may be outdated if the user changes chains as part of the connection flow. This means that the value of chainId returned by useWeb3React() may be incorrect. In an application, this means that any data derived from chainId could be incorrect.
Recommendation
Update the @web3-react/metamask package to the latest compatible version. Followings are version details:
- Affected version(s): >= 6.0.0, < 8.0.30-beta.0
- Patched version(s): 8.0.30-beta.0
References
Related Issues
- `chainId` may be outdated if user changes chains as part of connection in @web3-react - @web3-react/coinbase-wallet - CVE-2023-30543
- `chainId` may be outdated if user changes chains as part of connection in @web3-react - @web3-react/eip1193 - CVE-2023-30543
- `chainId` may be outdated if user changes chains as part of connection in @web3-react - CVE-2023-30543
- Strapi may leak sensitive user information, user reset password, tokens via content-manager views - CVE-2023-36472
You might also like:
- Tags:
- npm
- @web3-react/metamask
Anything's wrong? Let us know Last updated on November 11, 2023


