Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Tampering
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by a request without Content-Type header. Although the CSRF middleware verifies the Content-Type Header, Hono always considers a request without a Content-Type header to be safe. This can allow an attacker to bypass CSRF protection implemented with Hono CSRF middleware. Version 4.6.5 fixes this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | hono | before 4.6.5 | 4.6.5 | Patch available | CNA |
| — | hono (npm) | before 4.6.5 | 4.6.5 | Patch available | GHSA-2234-fmw7-43wr |
- hono Vendorhonojs Affected before 4.6.5 Fixed in 4.6.5 Patch available CNA
- hono (npm) Vendor— Affected before 4.6.5 Fixed in 4.6.5 Patch available GHSA-2234-fmw7-43wr
Remediation
- Fix · CNA hono (honojs) Fixed in 4.6.5
- Fix · GHSA-2234-fmw7-43wr hono (npm) Fixed in 4.6.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-48913
- 2026-10-03 Alias added: GHSA-2234-fmw7-43wr
References
More honojs Hono vulnerabilities
- TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
- TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
- TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-22076 Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo CVSS 3.1HIGH 8.2
- TI-2026-18334 JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback) CVSS 3.1HIGH 8.2
- TI-2026-18333 JWT Algorithm Confusion via Unsafe Default (HS256) in Hono JWT Middleware Allows Token Forgery and Auth Bypass CVSS 3.1HIGH 8.2
Sources
- CVE-2024-48913 · CVE Program
- CVE-2024-48913 · NVD
- FIRST EPSS
- GHSA-2234-fmw7-43wr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences