Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Network-reachable via victim's browser (AV:N), trivial to trigger (AC:L), no attacker auth (PR:N), victim must visit malicious page (UI:R), full read of authenticated responses (C:H), limited writes via CSRF-style calls (I:L).
Primary rating from Vendor (https://github.com/honojs/hono).
CVSS VectorVendor: https://github.com/honojs/hono
Lifecycle Timeline
2Blast Radius
ecosystem impact- 58 npm packages depend on hono (42 direct, 17 indirect)
Ecosystem-wide dependent count for version 4.12.25.
DescriptionCVE.org
Summary
With credentials: true and no explicit origin (the default wildcard), the CORS Middleware reflects the request's Origin and sends Access-Control-Allow-Credentials: true. Any site can then make credentialed cross-origin requests and read the responses, exposing cookie-authenticated endpoints to arbitrary origins.
Details
The spec forbids Access-Control-Allow-Origin: * with credentials and browsers reject it, so this configuration used to fail closed. In affected versions the middleware reflects the request Origin instead, so it now succeeds for every origin, including null. The preflight also echoes the requested headers back, approving non-simple credentialed requests too.
This issue arises when an application enables credentials: true and leaves origin unset or set to the wildcard.
Impact
Any third-party page a logged-in user visits can read the application's cookie-authenticated endpoints and perform credentialed state-changing requests. This affects applications that enable credentialed CORS without restricting origin.
AnalysisAI
Cross-origin credential exposure in Hono web framework versions prior to 4.12.25 allows arbitrary third-party sites to read responses from cookie-authenticated endpoints when applications enable the CORS middleware with credentials: true and leave origin unset. The middleware reflects the request Origin header alongside Access-Control-Allow-Credentials: true, bypassing the browser's standard wildcard-with-credentials safeguard. No public exploit identified at time of analysis, but the misconfiguration pattern is trivial to weaponize and exploitation only requires luring an authenticated user to visit a malicious page.
Technical ContextAI
Hono is a lightweight web framework for JavaScript runtimes (Node.js, Bun, Deno, Cloudflare Workers) distributed as the npm package 'hono'. The vulnerability lives in Hono's CORS middleware. The CORS specification explicitly forbids combining Access-Control-Allow-Origin: * with Access-Control-Allow-Credentials: true, and browsers reject such responses - historically this caused misconfigured deployments to fail closed. In affected Hono versions, when credentials is enabled and origin defaults to the wildcard, the middleware instead dynamically reflects the incoming Origin header (including the special 'null' origin used by sandboxed iframes and data URIs) and additionally echoes requested headers in preflight responses, approving non-simple credentialed requests. This maps to CWE-942 (Permissive Cross-domain Policy with Untrusted Domains), a classic same-origin policy bypass made possible by overly permissive CORS configuration.
RemediationAI
Vendor-released patch: upgrade hono to version 4.12.25 or later, which restores fail-closed behavior for the credentials + wildcard origin combination - see the GitHub Security Advisory at https://github.com/honojs/hono/security/advisories/GHSA-88fw-hqm2-52qc. If immediate upgrade is not feasible, explicitly configure the CORS middleware's origin option to a specific allowlist (string, array, or validating function) of trusted origins rather than relying on the default; this fully mitigates the issue with the trade-off that any cross-origin frontend not on the allowlist will lose access. Alternatively, set credentials: false if your application does not actually require cookie-authenticated cross-origin requests, which will break any client that depends on sending cookies cross-origin but eliminates the exposure entirely.
More in Cors Misconfiguration
View allCross-origin data theft in LightRAG server versions prior to 1.5.4 allows any malicious website to make authenticated, c
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.
In Eclipse Theia 0.3.9 to 1.8.1, the "mini-browser" extension allows a user to preview HTML files in an iframe inside th
Unauthenticated cross-origin RCE in Windows ML CLI (winml-cli < 0.4.0) is reachable when a developer runs the `serve` co
Bruno is an open source IDE for exploring and testing APIs. Rated high severity (CVSS 8.7), this vulnerability is no aut
memos is a privacy-first, lightweight note-taking service. Rated high severity (CVSS 8.1), this vulnerability is remotel
Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fe
Information disclosure in Progress MOVEit Transfer (all versions before 2025.1.5, and 2026.0.0 before 2026.0.3) stems fr
Sensitive-data exposure in Cohere North AI v1.1.5 stems from the server accepting cross-origin requests without validati
SCG Policy Manager, all versions, contains an overly permissive Cross-Origin Resource Policy (CORP) vulnerability. Rated
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true. Rated critical severity (CVSS 9
A malicious website could have learned the size of a cross-origin resource that supported Range requests. Rated critical
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38329
GHSA-88fw-hqm2-52qc