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.
Severity (CVSS)
| Base score | 5.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-352 — CWE-352: Cross-Site Request Forgery (CSRF)
- CWE-1275 — CWE-1275: Sensitive Cookie with Improper SameSite Attribute
Affected products
| Vendor | Product | Versions |
|---|---|---|
| honojs | @hono/oauth-providers | < 0.8.6 |
References
- https://github.com/honojs/middleware/security/advisories/GHSA-fm3f-ch8h-qw8q (x_refsource_CONFIRM)
- https://github.com/honojs/middleware/pull/2040 (x_refsource_MISC)
- https://github.com/honojs/middleware/commit/b37765f40b7bddb1d8fce39573b085222dea58c1 (x_refsource_MISC)
- https://github.com/honojs/middleware/releases/tag/%40hono%2Foauth-providers%400.8.6 (x_refsource_MISC)
Generated from the official CVE List on 01 Sep 2026 07:00 UTC.