CVE-2025-58362
JavaScript vulnerability analysis and mitigation

Overview

A high severity vulnerability (CVE-2025-58362) was discovered in Hono's URL path parsing functionality affecting versions 4.8.0 through 4.9.6. The vulnerability was disclosed on September 3, 2025, impacting the npm package 'hono'. The flaw exists in the getPath utility function which could lead to path confusion and potential bypass of proxy-level Access Control Lists (ACLs) (GitHub Advisory).

Technical details

The vulnerability stems from the original implementation's reliance on fixed character offsets when parsing request URLs. Under certain malformed absolute-form Request-URIs, this could lead to incorrect path extraction. The vulnerability has been assigned a CVSS score of 7.5 (High), with attack vector being Network, attack complexity Low, requiring no privileges or user interaction (GitHub Advisory).

Impact

If proxy ACLs are used to protect sensitive endpoints such as /admin, this vulnerability could allow unauthorized access to restricted areas. The confidentiality impact varies depending on the exposed data - if sensitive administrative data is exposed, the impact is considered High (CVSS 7.5); otherwise, it may be Medium (CVSS 5.3) (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.9.6 of the Hono package. The fix updates the implementation to correctly locate the first slash after '://', preventing path confusion. Users are strongly advised to upgrade to version 4.9.6 or later, especially if they rely on reverse proxies (e.g., Nginx) for ACLs or restrict access to endpoints (Hono Release).

Community reactions

The release of version 4.9.6 received positive community engagement, with multiple developers acknowledging the security fix. The GitHub release announcement garnered multiple reactions including thumbs up, heart, and rocket emojis from the community, indicating strong support for the security patch (Hono Release).

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-58362HIGH7.5
  • JavaScriptJavaScript
  • hono
NoYesSep 05, 2025
CVE-2025-58358HIGH7.5
  • JavaScriptJavaScript
  • mcp-markdownify-server
NoYesSep 04, 2025
CVE-2025-58179HIGH7.2
  • JavaScriptJavaScript
  • @astrojs/cloudflare
NoYesSep 05, 2025
CVE-2025-55305MEDIUM6.1
  • JavaScriptJavaScript
  • electron
NoYesSep 04, 2025
CVE-2025-58064LOW2.3
  • JavaScriptJavaScript
  • @ckeditor/ckeditor5-clipboard
NoYesSep 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