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.
No fix is currently available. Consider using an alternative module until a fix is made available.
{
"cwe_ids": [
"CWE-285"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T19:01:08Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}