{"id":"EUVD-2024-2653","enisaUuid":"b1877b9f-4b73-33fb-833f-69b01d4a03bc","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.","datePublished":"Aug 22, 2024, 2:23:44 PM","dateUpdated":"Aug 22, 2024, 3:40:32 PM","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5\nhttps://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449\nhttps://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17\n","aliases":"CVE-2024-43787\nGHSA-rpfr-3m35-5vx5\n","assigner":"GitHub_M","epss":0.24,"enisaIdProduct":[{"id":"334b31f4-6538-312e-84c5-a8d414a487ff","product":{"name":"hono","vendor":{"name":"honojs"}},"product_version":"\u003c 4.5.8"}],"enisaIdVendor":[{"id":"9480e712-d441-32f7-ae4f-e470ca63aa72","vendor":{"name":"honojs"}}],"enisaIdVulnerability":[{"id":"c295f5af-c5eb-3f35-9c1d-8af4e50640a4","vulnerability":{"id":"CVE-2024-43787","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.","datePublished":"Aug 22, 2024, 2:23:44 PM","dateUpdated":"Aug 22, 2024, 3:40:32 PM","status":"PUBLISHED","baseScore":5.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5\nhttps://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449\nhttps://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17\n","enisa_id":"EUVD-2024-2653\n","assigner":"GitHub_M","epss":0.24,"dataProcessed":"Nov 15, 2026, 1:38:45 AM","vulnerabilityProduct":[{"id":"edc84216-f5b6-3194-b41c-870a64642eb1","product":{"name":"hono","vendor":{"name":"honojs"}},"product_version":"\u003c 4.5.8"}],"vulnerabilityVendor":[{"id":"6f14a440-c8a8-3d7e-91d3-1f009d4091c9","vendor":{"name":"honojs"}}]}},{"id":"c8ebf340-81a9-34b8-935a-5255ebfab175","vulnerability":{"id":"GHSA-rpfr-3m35-5vx5","description":"Hono CSRF middleware can be bypassed using crafted Content-Type header","datePublished":"Aug 22, 2024, 4:41:08 PM","dateUpdated":"Nov 18, 2024, 4:27:06 PM","baseScore":null,"references":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-43787\nhttps://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449\nhttps://github.com/honojs/hono\nhttps://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17\n","enisa_id":"EUVD-2024-2653\n","aliases":"GHSA-rpfr-3m35-5vx5\nCVE-2024-43787\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:38:40 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}