{"url":"http://public2.vulnerablecode.io/api/packages/608517?format=json","purl":"pkg:npm/%40web3-react/metamask@8.0.13-beta.0","type":"npm","namespace":"@web3-react","name":"metamask","version":"8.0.13-beta.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"8.0.30-beta.0","latest_non_vulnerable_version":"8.2.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35265?format=json","vulnerability_id":"VCID-reht-awyj-7fg4","summary":"`chainId` may be outdated if user changes chains as part of connection in @web3-react\n### Impact\n`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.\n\nFor 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 is a common approach when using other foundational libraries like [`ethers`](https://github.com/ethers-io/ethers.js), and most users of v8 will want to upgrade past the affected versions.\n\n### Patches\nPatched in https://github.com/Uniswap/web3-react/pull/749.\nUsers of web3-react@8.0.x-beta.0 should upgrade to at least:\n - @web3-react/coinbase-wallet@^8.0.35-beta.0\n - @web3-react/eip1193@^8.0.27-beta.0\n - @web3-react/metamask@^8.0.30-beta.0\n - @web3-react/walletconnect@^8.0.37-beta.0\n\n### Workarounds\nN/A\n\n### References\nN/A","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2023-30543","reference_id":"","reference_type":"","scores":[{"value":"0.00151","scoring_system":"epss","scoring_elements":"0.35383","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-30543"},{"reference_url":"https://github.com/Uniswap/web3-react","reference_id":"","reference_type":"","scores":[{"value":"5.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Uniswap/web3-react"},{"reference_url":"https://github.com/Uniswap/web3-react/pull/749","reference_id":"","reference_type":"","scores":[{"value":"5.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T20:44:39Z/"}],"url":"https://github.com/Uniswap/web3-react/pull/749"},{"reference_url":"https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g","reference_id":"","reference_type":"","scores":[{"value":"5.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T20:44:39Z/"}],"url":"https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30543","reference_id":"","reference_type":"","scores":[{"value":"5.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30543"},{"reference_url":"https://github.com/advisories/GHSA-8pf3-6fgr-3g3g","reference_id":"GHSA-8pf3-6fgr-3g3g","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-8pf3-6fgr-3g3g"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67384?format=json","purl":"pkg:npm/%40web3-react/metamask@8.0.30-beta.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540web3-react/metamask@8.0.30-beta.0"},{"url":"http://public2.vulnerablecode.io/api/packages/372557?format=json","purl":"pkg:npm/%40web3-react/metamask@8.2.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540web3-react/metamask@8.2.0"}],"aliases":["CVE-2023-30543","GHSA-8pf3-6fgr-3g3g"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-reht-awyj-7fg4"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540web3-react/metamask@8.0.13-beta.0"}