CVE-2024-43787
Medium
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.
SeverityMedium
CVSS5.0
Exploit probability—
Product
Hono
PublishedAug 22, 2024
First seenAug 22, 2024
Weakness typeCWE-352Cross-site request forgery (CSRF)
How to fix
Update
- hono hono4.5.8 or later
- hono4.5.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hono hono | v < 4.5.8 | 4.5.8 |
| hononpm | v < 4.5.8 | 4.5.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.