{"id":"GHSA-65m9-m259-7jqw","aliases":[],"status":"published","title":"Improper Authorization in react-oauth-flow","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-285"],"published":"2020-09-03T15:49:29Z","modified":"2023-01-09T05:03:53Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"react-oauth-flow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"react-oauth-flow","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://github.com/ethereum/web3.js/issues/2739","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1487","tags":["web"]},{"url":"https://github.com/advisories/GHSA-65m9-m259-7jqw"},{"url":"https://github.com/ethereum/web3.js","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-65m9-m259-7jqw","title":"Improper Authorization in react-oauth-flow","description":"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.","status":"published","published":"2020-09-03T15:49:29Z","modified":"2023-01-09T05:03:53Z","cwes":["CWE-285"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-65m9-m259-7jqw","title":"Improper Authorization in react-oauth-flow","description":"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.","status":"published","published":"2020-09-03T15:49:29Z","modified":"2021-10-04T21:06:12Z","cwes":["CWE-285"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
