Vulnerability DatabaseGHSA-q7jf-gf43-6x6p

GHSA-q7jf-gf43-6x6p
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability (GHSA-q7jf-gf43-6x6p) was discovered in Hono's CORS middleware affecting versions prior to 4.10.3. The flaw allowed request Vary headers to be reflected into the response, enabling attacker-controlled Vary values and potentially affecting cache behavior. The vulnerability was published and reviewed on October 24, 2025, with a CVSS score of 6.5 (Moderate severity) (GitHub Advisory).

Technical details

The vulnerability exists in the CORS middleware where it incorrectly copied the Vary header from the request when the origin was not set to '*'. This behavior violated the principle that Vary is a response header that should only be managed by the server. The issue is tracked as CWE-444 (Inconsistent Interpretation of HTTP Requests). The CVSS vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, indicating network attack vector, low attack complexity, no privileges required, and no user interaction needed (GitHub Advisory).

Impact

The vulnerability may cause cache key pollution and inconsistent CORS enforcement in certain setups, particularly in environments where shared caches or proxies rely on the Vary header. However, there is no direct confidentiality, integrity, or availability impact in default configurations. The practical effect varies by configuration (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.10.3. Users should update to this version or later. The CORS middleware has been corrected to handle Vary exclusively as a response header, preventing the reflection of request Vary headers (GitHub Advisory, Hono Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management