{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-48913","id":"CVE-2024-48913","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","descriptionLong":"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.","published":"2024-10-15T15:56:14.408Z","updated":"2026-10-28T02:30:54.148952947Z","reserved":"2024-10-09T22:06:46.171Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["honojs hono"],"affectedProducts":[{"vendor":"honojs","product":"hono","defaultStatus":null,"versions":[{"version":"< 4.6.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"hono","purl":"pkg:npm/hono","ranges":["<4.6.5"],"fixed":["4.6.5"],"advisory":"GHSA-2234-fmw7-43wr"}],"cwes":["CWE-352"],"aliases":["GHSA-2234-fmw7-43wr"],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts#L76-L89","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48913.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48913","tags":["advisory"]},{"url":"https://github.com/honojs/hono","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00325,"epssPercentile":0.2625,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-48913","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48913","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-48913","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2234-fmw7-43wr","ok":true,"note":"GHSA-2234-fmw7-43wr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-48913","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}