cve.bz

CVE-2023-30543

5.7 mediumEPSS 0.4%

Medium (5.7) in uniswap. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in @web3-react/coinbase-wallet 8.0.35-beta.0.

@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.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-10-31)
CWE
CWE-362
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8pf3-6fgr-3g3gnpm@web3-react/coinbase-wallet>=6.0.0 <8.0.35-beta.08.0.35-beta.0
GHSA-8pf3-6fgr-3g3gnpm@web3-react/eip1193>=6.0.0 <8.0.27-beta8.0.27-beta
GHSA-8pf3-6fgr-3g3gnpm@web3-react/metamask>=6.0.0 <8.0.30-beta.08.0.30-beta.0
GHSA-8pf3-6fgr-3g3gnpm@web3-react/walletconnect>=6.0.0 <8.0.37-beta.08.0.37-beta.0

References

Check your stackJSON