Input validation error in hono - CVE-2024-43787
Published: August 22, 2024 / Updated: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass csrf protection.
The vulnerability exists due to improper input validation in the csrf middleware when handling requests with crafted Content-Type headers. A remote attacker can send a specially crafted request with an upper-case form-like MIME type to bypass csrf protection.
User interaction is required to trigger the crafted request.