Vulnerability
CVE-2024-48913
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.
15 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-26fq-p97m-jmhx
- CGA-28f7-pm3v-rrvx
- CGA-2cwm-p2m2-8w42
- CGA-66p5-w684-grvj
- CGA-74p8-4rxc-mm64
- CGA-82q8-rjm2-crm4
- CGA-87mq-xp93-rv4m
- CGA-8qv2-ch9w-p8w4
- CGA-9787-p5qr-rm8f
- CGA-9hf3-jgg4-g7cq
- CGA-ghpp-c785-wfhj
- CGA-j6hf-hccw-8f9h
- CGA-jhr3-3vf5-h3r7
- CGA-p5q6-8hvv-xvv5
-
GHSA-2234-fmw7-43wr
Hono allows bypass of CSRF Middleware by a request without Content-Type header.