Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-48913 EUVD-2024-2898GHSA-2234-fmw7-43wr

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

Published Oct 15, 2024 · Updated Nov 7, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
honojs hono < 4.6.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.6.5 4.6.5 GHSA-2234-fmw7-43wr

References