Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8.
References
Configurations
History
No history.
Information
Published : 2024-08-22 15:15
Updated : 2025-09-17 20:34
NVD link : CVE-2024-43787
Mitre link : CVE-2024-43787
CVE.ORG link : CVE-2024-43787
JSON object : View
Products Affected
hono
- hono
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
