Hono, Query Parsing Fragment Bypass, CVE-2026-84363 (Medium) -DC-Sep2026-2277

Listen to this Post

How CVE-2026-84363 Works

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.13.5, Hono’s query helpers treat a question mark (?) appearing after a literal hash fragment () as the start of a query string. This creates a dangerous interpretation differential.
In standard web architecture, the fragment identifier is intended for client-side use only and should not be transmitted to the server as part of the request URI. Every standard URL consumer — browsers, `new URL()`, reverse proxies — ignores everything from the first
onward. Hono’s routing followed this rule, but its query helpers did not.
For one and the same request, this produces an interpretation differential:
– A component in front of the application that inspects the query string — filtering rules, parameter allow/deny lists, access logging — observes no parameters, while the application reads and acts on them.
– The cache middleware removes the fragment when building its cache key, so a response influenced by parameters carried inside the fragment could be stored under a key that did not reflect them and later returned to other users.
– The same divergence reaches request validation and any middleware that reads query parameters.
Exploitation requires a runtime and intermediary path that passes a literal hash character through to the request URL. Deployments on runtimes that normalise such a target — including Cloudflare Workers — are not affected, and neither are those behind an intermediary that strips the fragment. This issue is fixed in version 4.13.5.

DailyCVE Form:

Platform: Hono
Version: < 4.13.5
Vulnerability: Query Parsing Bypass
Severity: Medium (CVSS 5.9)
Date: 2026-09-01

Prediction: Already Patched (2026-08-26)

What Undercode Say:

Analytics:

This vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests) allows attackers to bypass security controls that inspect query strings. The flaw is categorized under CWE-20: Improper Input Validation. The operational impact extends beyond simple parameter injection due to the behavior of Hono’s Cache Middleware. EPSS score is 0.34% — the vulnerability is unlikely to be exploited in the next 30 days.

Exploit: (Educational Purposes!)

Craft a request with parameters hidden inside the fragment
curl "https://target.example.com/search?q=<script>alert(1)</script>"
The application reads 'q' parameter, but proxies/WAFs/logs do not see it
If the response is cached, the XSS payload is stored and served to others
// Example of a poisoned cache request
fetch('https://target.example.com/profile?admin=true', {
method: 'GET'
});
// Cache middleware stores response under key '/profile'
// Subsequent users receive the admin-privileged response

Protection:

  • Upgrade to Hono version 4.13.5 or later immediately
  • Deploy behind an intermediary that strips URL fragments before they reach the application
  • Use runtimes that normalise request targets (e.g., Cloudflare Workers)
  • Implement additional validation on the application side to reject requests containing “ in the URL
  • Review caching strategies to ensure cache keys include all parameters that influence responses

Impact:

An attacker can cause the application to act on parameters that components in front of it never observe. This may lead to:
– Filtering rules, allow/deny lists, and audit logging being blind to parameters the application still processes
– A cached response being stored under a key that does not reflect the parameters used to produce it, and served to other users
– Stored cross-site scripting, where such a parameter is reflected into a cached HTML response without escaping
– Bypass of request validation and any middleware that reads query parameters

🎯Let’s Practice Exploiting & Learn Patching For Free:

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

Sources:

Reported By: github.com
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top