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

CVE-2024-43787: Hono CSRF middleware can be bypassed using crafted Content-Type header

August 22, 2024 (updated November 18, 2024)

Hono CSRF middleware can be bypassed using crafted Content-Type header.

References

  • github.com/advisories/GHSA-rpfr-3m35-5vx5
  • github.com/honojs/hono
  • github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts
  • github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449
  • github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5
  • nvd.nist.gov/vuln/detail/CVE-2024-43787

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.5.8

Fixed versions

  • 4.5.8

Solution

Upgrade to version 4.5.8 or above.

Impact 5 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

npm/hono/CVE-2024-43787.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:17 +0000.