-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| hono | npm | < 4.6.5 | 4.6.5 |
The vulnerability stems from how the CSRF middleware handles missing Content-Type headers. The original code used 'c.req.header('content-type') || ''' (line 76-89 in index.ts), which made requests without Content-Type headers pass the isRequestedByFormElementRe regex check. This allowed POST requests with empty/missing Content-Type to bypass CSRF validation. The patched version changes the default to 'text/plain' to properly enforce checks. The commit diff and vulnerability details directly point to this middleware handler as the vulnerable component.
Ongoing coverage of React2Shell