Home / Uniswap / web3-react / CVE-2023-30543
CVE-2023-30543: is it exploited, and which versions of Uniswap web3-react are affected and fixed?
CVE-2023-30543 is a race condition vulnerability in Uniswap web3-react. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: @web3-react/coinbase-wallet from 6.0.0 before 8.0.35-beta.0, @web3-react/eip1193 from 6.0.0 before 8.0.27-beta, @web3-react/metamask from 6.0.0 before 8.0.30-beta.0 and 1 more (GitHub advisory GHSA-8pf3-6fgr-3g3g). Fixed in 8.0.35-beta.0, 8.0.27-beta, 8.0.30-beta.0 and 8.0.37-beta.0 (GitHub advisory GHSA-8pf3-6fgr-3g3g). Severity: Medium (5.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-30543?
`chainId` may be outdated if user changes chains as part of connection in @web3-react
@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.
From the CVE record by GitHub_M, last updated February 5, 2025, 20:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Uniswap | web3-react | @web3-react/coinbase-wallet: >= 6, < 8.0.35-beta.0 @web3-react/eip1193: >= 6, < 8.0.27-beta.0 @web3-react/metamask: >= 6, < 8.0.30-beta.0 @web3-react/walletconnect: >= 6, < 8.0.37-beta.0 |
As the CVE record by GitHub_M states it, last updated February 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @web3-react/coinbase-wallet | >= 6.0.0, < 8.0.35-beta.0 | 8.0.35-beta.0 | GHSA-8pf3-6fgr-3g3g |
| npm | @web3-react/eip1193 | >= 6.0.0, < 8.0.27-beta | 8.0.27-beta | GHSA-8pf3-6fgr-3g3g |
| npm | @web3-react/metamask | >= 6.0.0, < 8.0.30-beta.0 | 8.0.30-beta.0 | GHSA-8pf3-6fgr-3g3g |
| npm | @web3-react/walletconnect | >= 6.0.0, < 8.0.37-beta.0 | 8.0.37-beta.0 | GHSA-8pf3-6fgr-3g3g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 18, 2023. Summary: `chainId` may be outdated if user changes chains as part of connection in @web3-react.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| uniswap | web3-react coinbase-wallet | from 6.0.0 through 6.2.14 | application |
| uniswap | web3-react coinbase-wallet | 7.0.0 | application |
| uniswap | web3-react coinbase-wallet | 7.0.1 | application |
| uniswap | web3-react coinbase-wallet | 7.0.2 | application |
| uniswap | web3-react coinbase-wallet | 8.0.22 | application |
| uniswap | web3-react coinbase-wallet | 8.0.23 | application |
| uniswap | web3-react coinbase-wallet | 8.0.24 | application |
| uniswap | web3-react coinbase-wallet | 8.0.25 | application |
| uniswap | web3-react coinbase-wallet | 8.0.26 | application |
| uniswap | web3-react coinbase-wallet | 8.0.27 | application |
| uniswap | web3-react coinbase-wallet | 8.0.28 | application |
| uniswap | web3-react coinbase-wallet | 8.0.29 | application |
| uniswap | web3-react coinbase-wallet | 8.0.30 | application |
| uniswap | web3-react coinbase-wallet | 8.0.31 | application |
| uniswap | web3-react coinbase-wallet | 8.0.32 | application |
| uniswap | web3-react coinbase-wallet | 8.0.33 | application |
| uniswap | web3-react coinbase-wallet | 8.0.34 | application |
| uniswap | web3-react eip1193 | from 6.0.0 through 6.2.14 | application |
| uniswap | web3-react eip1193 | 7.0.0 | application |
| uniswap | web3-react eip1193 | 7.0.1 | application |
| uniswap | web3-react eip1193 | 7.0.2 | application |
| uniswap | web3-react eip1193 | 8.0.0 | application |
| uniswap | web3-react eip1193 | 8.0.1 | application |
| uniswap | web3-react eip1193 | 8.0.2 | application |
| uniswap | web3-react eip1193 | 8.0.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:54 UTC.
How severe is CVE-2023-30543?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L | GitHub_M |
| Medium 5.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-30543 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 5, 2025)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 33.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g x_refsource_CONFIRM
- https://github.com/Uniswap/web3-react/pull/749 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 12, 2023
- Published
- April 17, 2023, 21:02 UTC
- CVE record updated
- February 5, 2025, 20:44 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:54 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-30543
Is CVE-2023-30543 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Uniswap web3-react are affected by CVE-2023-30543?
@web3-react/coinbase-wallet from 6.0.0 before 8.0.35-beta.0, @web3-react/eip1193 from 6.0.0 before 8.0.27-beta, @web3-react/metamask from 6.0.0 before 8.0.30-beta.0 and @web3-react/walletconnect from 6.0.0 before 8.0.37-beta.0, per the GitHub advisory GHSA-8pf3-6fgr-3g3g. The tables above give every range the sources list.
Which version fixes CVE-2023-30543?
8.0.35-beta.0, 8.0.27-beta, 8.0.30-beta.0 and 8.0.37-beta.0, per the GitHub advisory GHSA-8pf3-6fgr-3g3g. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-30543?
Medium (5.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-30543?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.