Skip to content
OpenAdvisories
High · 7.1 CVE-2026-54290 EUVD-2026-38329GHSA-88fw-hqm2-52qc

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

Published Jun 22, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
honojs hono < 4.12.25 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.12.25 4.12.25 GHSA-88fw-hqm2-52qc

Advisories 1

References