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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| honojs | @hono/oauth-providers | < 0.8.6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @hono/oauth-providers | < 0.8.6 | 0.8.6 | GHSA-fm3f-ch8h-qw8q |