{"id":"GHSA-65m9-m259-7jqw","summary":"Improper Authorization in react-oauth-flow","details":"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.","modified":"2021-10-04T21:06:12Z","published":"2020-09-03T15:49:29Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-08-31T19:01:08Z","nvd_published_at":null,"cwe_ids":["CWE-285"]},"references":[{"type":"WEB","url":"https://github.com/ethereum/web3.js/issues/2739"},{"type":"PACKAGE","url":"https://github.com/ethereum/web3.js"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1487"}],"affected":[{"package":{"name":"react-oauth-flow","ecosystem":"npm","purl":"pkg:npm/react-oauth-flow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-65m9-m259-7jqw/GHSA-65m9-m259-7jqw.json"}}],"schema_version":"1.9.0"}