Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-126355 — Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)

Medium · CVSS 5.3EPSS 0.2% First seen November 12, 2026

One of 5 npm:hono vulnerabilities published together by GitHub Advisory: our article covers all of them.

JavaScriptChromeFirefoxWebBrowsersVulnerabilities

Research article

HonoJS Hono CSRF Vulnerability in text/ping Content-Type

CVECVE-2026-126355
Vendor and productnpm:hono; honojs hono
PublishedNovember 22, 2026 06:30 UTC
Research cut-offNovember 22, 2026 06:15 UTC
Sources reviewed4: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126355HonoJSHonoCWE-3525.3 MEDIUM, scored by security-advisories@github.com (Secondary)2026-11-13T00:20:102026-11-13T20:18:32Deferred

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

AffectedFixed
hono < 4.13.16hono >= 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

  1. Upgrade to Hono version 4.13.16 [3].
  2. Set session cookies with `SameSite=Strict` to prevent cross-origin requests from sending cookies [3].
  3. Monitor for any suspicious activity related to CSRF attacks.

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

  1. 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. Vulnerability identification, Vulnerability description, CVSS scores, Impact analysis
  2. 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. Exploitation and threat intelligence status
  3. 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. Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Remediation, Detection and exposure assessment
  4. 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. Exploitation and threat intelligence status

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

Medium · 5.3 CVSS 3.1 base score 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.

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

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

Weakness

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

Affected and fixed versions

ProductAffected versionsFixed in
hono (npm)< 4.13.164.13.16
honojs hono< 4.13.16—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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.

Source: GHSA-46wx-v44x-9hh2 / CVE-2026-126355, GitHub Advisory Database, licensed CC BY 4.0.

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