{"id":"GHSA-65m9-m259-7jqw","aliases":["GHSA-65m9-m259-7jqw"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Authorization in react-oauth-flow","summary":"All versions of `react-oauth-flow` fail to properly implement the OAuth protocol. The package stores secrets in the front-end code. Instead of using a public OAuth client, it uses a confidential client on the browser. This may allow attackers to compromise server credentials.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `react-oauth-flow` fail to properly implement the OAuth protocol. The package stores secrets in the front-end code. Instead of using a public OAuth client, it uses a confidential client on the browser. This may allow attackers to compromise server credentials.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:49:29.000Z","modified":"2021-10-04T21:06:12.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"react-oauth-flow","purl":"pkg:npm/react-oauth-flow","source":"ghsa"}],"references":[{"url":"https://github.com/ethereum/web3.js/issues/2739","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ethereum/web3.js","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1487","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-65m9-m259-7jqw","url":"https://github.com/advisories/GHSA-65m9-m259-7jqw","licence":"CC-BY-4.0","modified":"2021-10-04T21:06:12.000Z"}],"updatedAt":"2026-11-25T22:56:44.302Z"}