CVE-2024-43787Hono
Medium 5.0 No auth needed
Follow: this CVE · Hono · Hono We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 5.0
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 14
- Auth required
- No
- Published
- Aug 22, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Hono.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | hono |
< 4.5.8 |
4.5.8 |
npm install hono@4.5.8 |
Per OSV / GitHub Advisories (GHSA-rpfr-3m35-5vx5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hono | hono | < 4.5.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Exploit Vendor Advisory