CVE-2024-43787

CVE-2024-43787 is a medium-severity vulnerability in Hono with a CVSS 3.x base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-352.

Key facts

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.

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.
How severe is CVE-2024-43787?
CVE-2024-43787 has a CVSS 3.x base score of 5.0, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability low.
Is CVE-2024-43787 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (14th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-43787?
CVE-2024-43787 affects Hono. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-43787?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-43787 have an EU (EUVD) identifier?
Yes. CVE-2024-43787 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2653.
When was CVE-2024-43787 published?
CVE-2024-43787 was published on 2024-08-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Hono

All CVEs affecting Hono →

Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities

Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →