# GHSA-65m9-m259-7jqw: Improper Authorization in react-oauth-flow

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:49:29.000Z
- Modified: 2021-10-04T21:06:12.000Z
- Weaknesses: CWE-285

## 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.


## Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- react-oauth-flow (npm): from 0.0.0

## References

- <https://github.com/ethereum/web3.js/issues/2739> (web)
- <https://github.com/ethereum/web3.js> (package)
- <https://www.npmjs.com/advisories/1487> (web)

## Sources

- GitHub Advisory Database: [GHSA-65m9-m259-7jqw](https://github.com/advisories/GHSA-65m9-m259-7jqw), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-65m9-m259-7jqw · Whole record: https://cve.day/GHSA-65m9-m259-7jqw.json · Rebuilt by cve.day 2026-11-25T22:56:44.302Z
