@hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| honojs | @hono/oauth-providers | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Honojs | @hono/oauth-providers |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-fm3f-ch8h-qw8q | @hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.191% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Honojs
Honojs @hono/oauth-providers |
|
| Vendors & Products |
Honojs
Honojs @hono/oauth-providers |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @hono/oauth-providers is Authentication middleware for Hono. Prior to version 0.8.6, the built-in social login providers accept an OAuth callback even when the `state` value is absent on both sides, so the anti-CSRF check passes for a callback that never came from a genuine login attempt. This defeats the `state`-based CSRF protection under default usage. Version 0.8.6 has a patch. | |
| Title | @hono/oauth-providers: OAuth state check fails open on omitted state, enabling login CSRF and forced account linking | |
| Weaknesses | CWE-1275 CWE-352 |
|
| References |
| |
| Metrics |
cvssV3_1
|