Security mailing lists by PureSourceCode

CVE-2024-43787

MEDIUM 5.0CVSS 3.1

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

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.

Published
22 Aug 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-352
Also known as
GHSA-rpfr-3m35-5vx5
Sources
NVDJSONOSV GHSA-rpfr-3m35-5vx5JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hono hono
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
< 4.5.8 4.5.8
OSV npm hono < 4.5.8 4.5.8

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 22 Aug 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.