CVE-2024-48913

Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.

Published Oct 15, 2024 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2898 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.
Github GHSA Github GHSA GHSA-2234-fmw7-43wr Hono allows bypass of CSRF Middleware by a request without Content-Type header.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00014}

epss

{'score': 0.00016}

Type Values Removed Values Added
Title Honor vulnerable to bypass of CSRF Middleware by a request without Content-Type header. Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
Type Values Removed Values Added
First Time appeared Hono
Hono hono
CPEs cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
Vendors & Products Hono
Hono hono
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Honor vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 7, 2024, 6:33 PM
Reserved
Oct 9, 2024, 10:06 PM
Status
Analyzed
Published
Oct 15, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:59 AM