CVE-2024-48913
published medium CVSS 3.1 · 5.9Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | hono | < 4.6.5 (affected) | GitHub_M · cna |
| hono | hono | 0 to < 4.6.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
References
3Provider assertions
2GitHub_M · cna
Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cdcc57c67be9267ce72b1b6dd370b5cb8ab9513e9ae10b363dcb916d580a78c5
- Ingested
- 23 Sep 2026, 08:28:51 UTC
- Source record
- Official CVE record