{"id":"CVE-2024-48913","state":"PUBLISHED","title":"Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.","description":"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.","publishedAt":"2024-10-15T15:56:14.408Z","updatedAt":"2024-11-07T18:33:39.270Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs hono"],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.6.5","status":"affected"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr","https://github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82","https://github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts#L76-L89"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/48xxx/CVE-2024-48913.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-48913","state":"PUBLISHED","datePublished":"2024-10-15T15:56:14.408Z","dateUpdated":"2024-11-07T18:33:39.270Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-09T22:06:46.171Z"},"containers":{"cna":{"title":"Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.6.5","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr","name":"https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82","name":"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","name":"https://github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts#L76-L89","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-07T18:33:39.270Z"},"source":{"advisory":"GHSA-2234-fmw7-43wr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"hono","product":"hono","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"4.6.5","versionType":"custom"}],"cpes":["cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-15T16:14:46.011068Z","id":"CVE-2024-48913","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-15T16:15:42.645Z"}}]}}}