PT-2024-33264

CVE-2024-48913

·

Published

2024-10-15

·

Updated

2025-09-17

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions Hono versions prior to 4.6.5
Description The issue allows an attacker to bypass cross-site request forgery (CSRF) protection implemented with Hono CSRF middleware by sending a request without a Content-Type header. Although the CSRF middleware verifies the Content-Type Header, Hono considers a request without a Content-Type header to be safe. This can be exploited using the fetch API, which does not add a Content-Type header for requests without a body.
Recommendations For Hono versions prior to 4.6.5, update to version 4.6.5 to fix the issue. As a temporary workaround, consider implementing additional validation for requests without a Content-Type header to prevent bypassing CSRF protection. Restrict access to sensitive endpoints that rely on Hono's CSRF middleware until the update is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-2234-FMW7-43WR
Found an issue in the description? Have something to add? Feel free to write us 👾