CVE-2024-43787CWE-352

Hono CSRF middleware can be bypassed using crafted Content-Type header

Medium · published August 22, 2024

CVSS v3.1
5.0
EPSS
0%
Percentile
14.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00244 · 14.8th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2024-08-22T14:23Z
EPSS history
Timeline
  • 22 AUG 14:23Z
    Hono CSRF middleware can be bypassed using crafted Content-Type header
    cvelistv5