CVE-2026-54290 PUBLISHED

Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 22.06.2026 Updated: 22.06.2026

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, 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. This vulnerability is fixed in 4.12.25.

Metrics

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

Product Status

Vendor honojs
Product hono
Versions
  • Version < 4.12.25 is affected

References

Problem Types

  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains CWE