{"id":"CVE-2024-48913","published":"2024-10-15T15:56:14Z","modified":"2024-11-07T18:33:39Z","title":"Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by a request without Content-Type header. Although the CSRF middleware verifies the Content-Type Header, Hono always considers a request without a Content-Type header to be safe. This can allow an attacker to bypass CSRF protection implemented with Hono CSRF middleware. Version 4.6.5 fixes this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00325,"percentile":0.2625,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts#L76-L89","tags":["x_refsource_MISC"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.25},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.6.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-15T16:14:46.011068Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.6.5"],"patched":["4.6.5"],"from":["GHSA-2234-fmw7-43wr"],"provenance":"source"}],"summary":{"text":"The Hono web framework, prior to version 4.6.5, has a flaw in its CSRF middleware, which treats any request lacking a Content-Type header as safe and so fails to apply its Content-Type check to it. An attacker can exploit this to bypass the CSRF protection implemented with the Hono CSRF middleware, provided they can get a victim user to interact with a crafted request (user interaction is required; the attack is network-reachable and needs no authentication, and the attack complexity is high).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:28Z"},"euvd":{"id":"EUVD-2024-2898","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-hono-cve-2024-43787","parents":[{"from":"CVE-2024-43787","to":"CVE-2024-48913","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:hono","fromFixed":"4.5.8","toFixed":"4.6.5","daysApart":54},{"kind":"same-code","provenance":"machine","files":["src/middleware/csrf/index.ts"],"commits":["https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449","https://github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-50710","published":"2023-12-14","fixed":"3.11.7","kev":false},{"cve":"CVE-2024-32869","published":"2024-04-23","fixed":"4.2.7","kev":false},{"cve":"CVE-2024-43787","published":"2024-08-22","fixed":"4.5.8","kev":false},{"cve":"CVE-2024-48913","published":"2024-10-15","fixed":"4.6.5","kev":false},{"cve":"CVE-2025-58362","published":"2025-09-04","fixed":"4.9.6","kev":false},{"cve":"CVE-2025-59139","published":"2025-09-12","fixed":"4.9.7","kev":false},{"cve":"CVE-2025-62610","published":"2025-10-22","fixed":"4.10.2","kev":false}],"package":"npm:hono"}}