CVE-2024-48913: hono Cross-Site Request Forgery (CSRF)
Vulnerability summary
CVE-2024-48913 is a medium (CVSS 5.9) Cross-Site Request Forgery (CSRF) vulnerability in hono. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 15-10-2024PublishedVulnerability first disclosed.
- 07-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
+0.01 pp
From 0.31% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundHono
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard7 products
- honoAll versions (No fix recorded)
- hono-adapter-mqttAll versions (No fix recorded)
- hono-cliAll versions (No fix recorded)
- hono-compatAll versions (No fix recorded)
- hono-service-authAll versions (No fix recorded)
Hono1 product
- hono< 4.6.5
Honojs1 product
- hono< 4.6.5
Npm1 product
- hono< 4.6.5
4 vendors · 10 products
References
6 links- github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wrX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.tsX Refsource MISCWEBProduct
- github.com/honojs/honoPACKAGE