Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2024-48913

Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

honojs hono

  • < 4.6.5affected

References