Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54290: CWE-942: Permissive Cross-domain Policy with Untrusted Domains in honojs hono

0
High
VulnerabilityCVE-2026-54290cvecve-2026-54290cwe-942
Published: 06/22/2026 (06/22/2026, 17:15:35 UTC)
Source: CVE Database V5
Vendor/Project: honojs
Product: hono

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected software

hono
pkg:npm/hono
Affected versions
<4.12.25

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:54:13 UTC

Technical Analysis

CVE-2026-54290 describes a permissive cross-domain policy vulnerability (CWE-942) in the honojs hono framework before version 4.12.25. When the CORS middleware is configured with credentials: true and no explicit origin (defaulting to a wildcard), it reflects the request's Origin header and sends Access-Control-Allow-Credentials: true. This allows any external site to perform credentialed cross-origin requests and access sensitive responses, exposing cookie-authenticated endpoints to untrusted origins. The vulnerability is resolved in hono version 4.12.25.

Potential Impact

The vulnerability allows arbitrary external origins to make credentialed cross-origin requests and read responses from the vulnerable hono application, potentially exposing sensitive user data protected by cookies. This can lead to unauthorized data disclosure. The CVSS score is 7.1 (high severity), indicating a network attack vector with low complexity, no privileges required, user interaction needed, and high confidentiality impact.

Mitigation Recommendations

Upgrade hono to version 4.12.25 or later, where this vulnerability is fixed. There is no official remediation level stated beyond this fix. Patch status is confirmed by the version update. Until patched, avoid using credentials: true with the default wildcard origin in CORS middleware configurations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:46:37.293Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735ceed863c81e3962ad

Added to database: 06/22/2026, 17:39:40 UTC

Last enriched: 06/22/2026, 17:54:13 UTC

Last updated: 06/23/2026, 02:52:21 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses