CVE-2024-43787

MEDIUM
Published Aug 22, 2024 Modified Sep 17, 2025 CWE-352

Description

Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8.

Is your site exposed to CVE-2024-43787?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.0
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-352 Cross-Site Request Forgery

Affected Products

Vendor Product
hono hono

References

Frequently Asked Questions

What is CVE-2024-43787? +
Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8. It has a CVSS v3.1 base score of 5.0 (MEDIUM).
How severe is CVE-2024-43787? +
CVE-2024-43787 has a CVSS v3.1 score of 5.0 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-43787? +
CVE-2024-43787 affects products from hono, specifically: hono. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-43787? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-43787 — free, no signup required.