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
- Severity: Medium (CVSS 3.x base score 5.0)
- EPSS exploit prediction: 0% (14th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2653
- Weakness: CWE-352
- Affected product: Hono
- Published:
- Last modified:
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
- https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17
- https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449
- https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5
Affected products (1)
- cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
More vulnerabilities in Hono
- CVE-2026-27700 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. In versions 4.12.0 and 4.12.1,…
- CVE-2026-22818 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw…
- CVE-2026-22817 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw…
- CVE-2025-62610 — High (CVSS 8.1): Hono is a Web application framework that provides support for any JavaScript runtime. In versions from 1.1.0 to before…
- CVE-2026-39408 — High (CVSS 7.5): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path…
- CVE-2026-29045 — High (CVSS 7.5): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when…
Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities
- CVE-2025-32642 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in appsbd Vite Coupon vite-coupon allows Remote Code Inclusion.This…
- CVE-2025-23922 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in Harsh iSpring Embedder embed-ispring allows Upload a Web Shell to a…
- CVE-2017-5145 — Critical (CVSS 10.0): An issue was discovered in Carlo Gavazzi VMU-C EM prior to firmware Version A11_U05, and VMU-C PV prior to firmware…
- CVE-2019-25729 — Critical (CVSS 9.8): PDF Signer 3.0 contains a server-side template injection vulnerability that allows unauthenticated attackers to execute…
- CVE-2025-48340 — Critical (CVSS 9.8): Cross-Site Request Forgery (CSRF) vulnerability in Danny Vink User Profile Meta Manager user-profile-meta allows…
- CVE-2025-2907 — Critical (CVSS 9.8): The Order Delivery Date WordPress plugin before 12.3.1 does not have authorization and CSRF checks when importing…
Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →