🛡️ CVE-2023-30543
🟡 CVSS 5.2 — Medium ✅ No Known Exploit CWE-362 NVD
5.2
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

@web3-react is a framework for building Ethereum Apps . In affected versions the `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. For example, if a swapping application derives a wrapped token contract address from the `chainId` *and* a user has changed chains as part of their connection flow the application could cause the user to send funds to the incorrect address when wrapping. This issue has been addressed in PR #749 and is available in updated npm artifacts. There are no known workarounds for this issue. Users are advised to upgrade.

Details

Severity Medium
CVSS Score 5.2
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L
CWE CWE-362
Public Exploit ✅ No
Source NVD
Published 2023-04-18
Updated 2026-06-08
Modified 2023-11-08

Affected Packages

Software From version Fixed in
@web3-react/coinbase-wallet
@web3-react/eip1193
@web3-react/metamask
@web3-react/walletconnect
web3-react-coinbase-wallet
web3-react-eip1193
web3-react-metamask
web3-react-walletconnect

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.