GitHub Advisoryadvisory · npm
GHSA-65m9-m259-7jqw Improper Authorization in react-oauth-flow
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- react-oauth-flow
- Severity
- Critical
- Weaknesses
- CWE-285
- Reviewed
- 2020-08-31
Affected packages
• npm react-oauth-flow: >= 0.0.0 (no fix yet)
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.
Related
Weakness · CWE (1)
- CWE-285 Improper Authorization weakness