VYPR
Low severityNVD Advisory· Published Aug 22, 2024· Updated Aug 22, 2024

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

CVE-2024-43787

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
hononpm
< 4.5.84.5.8

Affected products

9

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.