Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2024-48913

CVE-2024-48913: Hono allows bypass of CSRF Middleware by a request without Content-Type header.

October 15, 2024 (updated November 7, 2024)

Bypass CSRF Middleware by a request without Content-Type herader.

References

  • github.com/advisories/GHSA-2234-fmw7-43wr
  • github.com/honojs/hono
  • github.com/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts
  • github.com/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82
  • github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr
  • nvd.nist.gov/vuln/detail/CVE-2024-48913

Code Behaviors & Features

Detect and mitigate CVE-2024-48913 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.6.5

Fixed versions

  • 4.6.5

Solution

Upgrade to version 4.6.5 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/hono/CVE-2024-48913.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.