{"cve":"CVE-2024-43787","nvd":{"published":"2024-08-22T15:15:16.857","modified":"2026-06-17T07:51:42.860","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.0},"cwes":["CWE-352"],"references":["https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17","https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449","https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5"],"products":["hono:hono"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-43787","score":0.00244,"percentile":0.15698,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-rpfr-3m35-5vx5","url":"https://osv.dev/vulnerability/GHSA-rpfr-3m35-5vx5","summary":"Hono CSRF middleware can be bypassed using crafted Content-Type header","modified":"2026-09-10T03:50:55.380558715Z","packages":[{"ecosystem":"npm","name":"hono","purl":"pkg:npm/hono","ranges":["<4.5.8"],"fixed":["4.5.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}