CVE-2023-30543

    Dashboard / Vulnerabilities / CVE-2023-30543

    CVE-2023-30543

    Published: 17 Apr 2023Last Modified: 12 Aug 2026

    Summary: `chainId` may be outdated if user changes chains as part of connection in @web3-react

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

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- a4f7ba204abd4bac2f30c9361526d0250a86e705
    Fixed -None

    Affected versions

    v6.2.14
    v6.2.13
    v6.2.12
    v6.2.11
    v6.2.10
    v6.2.9
    v6.2.8
    v6.2.6
    v6.2.5
    v6.2.4
    v6.2.3
    v6.2.2
    v6.2.1
    v6.2.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-30543 | CVE-DB