Home › CVE › JavaScript
CVE-2026-126355 — Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
One of 5 npm:hono vulnerabilities published together by GitHub Advisory: our article covers all of them.
JavaScriptChromeFirefoxWebBrowsersVulnerabilitiesResearch article
HonoJS Hono CSRF Vulnerability in text/ping Content-Type
| CVE | CVE-2026-126355 |
|---|---|
| Vendor and product | npm:hono; honojs hono |
| Published | November 22, 2026 06:30 UTC |
| Research cut-off | November 22, 2026 06:15 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-11-13); CISA KEV catalog; GitHub advisory (2026-11-12); FIRST EPSS (2026-11-21) |
Executive summary
CVE-2026-126355 is a Cross-Site Request Forgery (CSRF) flaw in HonoJS Hono versions prior to 4.13.16, with a CVSS 3.1 score of 5.3 MEDIUM [1]. The vulnerability enables attackers to bypass CSRF protections when handling requests with the text/ping content type [3]. The reviewed sources do not report any instances of exploitation [2]. The primary recommendation is to upgrade to the fixed version 4.13.16 [3].
Key points
- CVE-2026-126355 is a CSRF flaw in HonoJS Hono versions before 4.13.16 [1].
- The vulnerability allows attackers to bypass CSRF protections when handling `text/ping` content type requests [3].
- The CVSS 3.1 score is 5.3 MEDIUM with a high integrity impact [1].
- The reviewed sources do not report any evidence of exploitation [2].
- The main action is to upgrade to the fixed version 4.13.16 [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-126355 | HonoJS | Hono | CWE-352 | 5.3 MEDIUM, scored by security-advisories@github.com (Secondary) | 2026-11-13T00:20:10 | 2026-11-13T20:18:32 | Deferred |
Vulnerability description
A CSRF flaw exists in the csrf() middleware when handling requests with a Content-Type of text/ping. The middleware fails to validate the Origin or Sec-Fetch-Site headers for such requests, allowing malicious websites to initiate state-changing actions [3]. This issue is limited to Chrome and Edge browsers, as Firefox does not send pings by default [3].
Attack surface and exploitation prerequisites
The vulnerability requires a user to be logged in and visit a malicious webpage in Chrome or Edge browsers. The attack relies on the SameSite attribute of the session cookies to include the user's cookies in the request [3]. According to the CVSS record, the attack requires user interaction and has a high integrity impact [1].
Impact analysis
The vulnerability could allow an attacker to perform state-changing actions on behalf of a user, potentially leading to unauthorized modifications. The CVSS record indicates no confidentiality impact, high integrity impact, and no availability impact [1].
Affected products and versions
| Affected | Fixed |
|---|---|
| hono < 4.13.16 | hono >= 4.13.16 |
Exploitation and threat intelligence status
CVE-2026-126355 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-22 [2]. The EPSS score for this vulnerability is 0.18%, suggesting a low probability of exploitation within the next 30 days [4].
Detection and exposure assessment
Users can assess their exposure by verifying if they are running a version of Hono below 4.13.16 [3].
Remediation
The fixed version is 4.13.16 [3]. To reduce the risk, configure session cookies with SameSite=Strict to prevent cross-origin requests from including cookies [3].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention any alternative workarounds.
- The sources do not provide detailed information about the attack lifecycle.
- The sources do not include indicators of compromise.
- The sources do not list any mitigations beyond setting `SameSite=Strict`.
References
- CVE-2026-126355 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-126355. Accessed 2026-11-22.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-22. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-22.
- GHSA-46wx-v44x-9hh2 / CVE-2026-126355 — Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`). GitHub Security Advisory Database, 2026-11-12. https://github.com/advisories/GHSA-46wx-v44x-9hh2. Accessed 2026-11-22.
- EPSS score for CVE-2026-126355. FIRST, 2026-11-21. https://api.first.org/data/v1/epss?cve=CVE-2026-126355. Accessed 2026-11-22.
Severity breakdown
Medium · 5.3
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on integrity, none on confidentiality and availability
Weakness
- CWE-352: Cross-Site Request Forgery (CSRF)
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| hono (npm) | < 4.13.16 | 4.13.16 |
| honojs hono | < 4.13.16 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/honojs/hono/commit/bf16471913b5199212dac33f5d170f94745dd26a
- github.com/honojs/hono/releases/tag/v4.13.16
Other references
Details
Summary
csrf() validates a request only when its Content-Type is one of the three types an HTML form can send. Chromium's hyperlink auditing (<a ping>) sends a cross-origin POST with the user's cookies and the content type text/ping, which is not in that list. The middleware does not look at Origin or Sec-Fetch-Site for such a request, so it is passed to the handler.
Details
The middleware skips the origin check when the content type is not one that a form submission produces. The assumption was that any other content type requires a CORS preflight and therefore cannot be sent cross-origin with credentials. Hyperlink auditing is an exception: Chrome and Edge send the ping as a credentialed POST without a preflight, with a fixed body and Content-Type: text/ping.
A page on another origin can therefore trigger a POST to any URL of the application. The csrf() options for origin and secFetchSite do not change the outcome, because neither header is evaluated for the request.
The request body is fixed, so only actions whose effect does not depend on the body can be triggered. Firefox does not send pings by default. As with any CSRF, the user's cookie must be sent with the request, which with the default SameSite=Lax means a same-site origin or a cookie set with SameSite=None.
Impact
A user who visits a malicious page in Chrome or Edge while logged in to an application protected by csrf() can be made to send a state-changing request to that application, such as logging out, deleting a resource, or toggling a setting that is selected by the path or query string.
This issue affects applications that rely on csrf() as their CSRF protection and expose state-changing endpoints whose effect does not depend on the request body.
Workarounds
Reject requests with a Content-Type of text/ping in a middleware registered before csrf(), or set session cookies with SameSite=Strict.
Affected
- npm:hono
- honojs hono
Frequently asked questions
What is CVE-2026-126355?
CVE-2026-126355 is a Cross-Site Request Forgery (CSRF) flaw in HonoJS Hono versions prior to 4.13.16, with a CVSS 3.1 score of 5.3 MEDIUM. The vulnerability enables attackers to bypass CSRF protections when handling requests with the text/ping content type. The reviewed sources do not report any instances of exploitation. The primary recommendation is to upgrade to the fixed version 4.13.16. Weakness type: Cross-Site Request Forgery (CSRF) (CWE-352).
How severe is CVE-2026-126355?
CVE-2026-126355 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-126355 being exploited?
Not as far as is known: CVE-2026-126355 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126355?
hono (npm) < 4.13.16 (fixed in 4.13.16); honojs hono < 4.13.16.
How do I fix CVE-2026-126355?
Upgrade to Hono version 4.13.16. Set session cookies with SameSite=Strict to prevent cross-origin requests from sending cookies. Monitor for any suspicious activity related to CSRF attacks.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-135600: Use-After-Free Vulnerability in Firefox JavaScript Engine
- Firefox JavaScript: WebAssembly Use-After-Free Vulnerability
- Firefox JavaScript Engine Boundary Condition Flaw (CVE-2026-135574)
- Firefox JavaScript Engine Use-After-Free Vulnerability (CVE-2026-135566)
- Firefox JavaScript Engine Use-After-Free Flaw (CVE-2026-135557)