Skip to main content
← All vulnerabilities
CVE-2024-48913GHSA-2234-FMW7-43WR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.6.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.6.5

  • hononpm

    fixed in 4.6.5

References 3

GitHub · honojs/hono