Vulnerability DatabaseGHSA-hq75-xg7r-rx6c

GHSA-hq75-xg7r-rx6c
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-hq75-xg7r-rx6c) affects the better-call npm package versions <= 1.0.11, with a patched version available in 1.0.12. This moderate severity vulnerability was published on July 11, 2025, and involves a routing bug that can lead to cache deception attacks (GitHub Advisory).

Technical details

The vulnerability stems from insufficient path sanitization in the request processing logic. The library splits the path using config.basePath without proper validation of remaining path components. The problematic code processes requests by splitting URL paths without adequate security checks: const path = config?.basePath ? url.pathname.split(config.basePath)[1] : url.pathname. This implementation allows specially crafted requests that appear as static assets to bypass CDN cache exclusion rules while accessing sensitive data. The vulnerability has a CVSS v4 base score of 4.9 (Moderate) with Network attack vector, Low attack complexity, and High confidentiality impact (GitHub Advisory).

Impact

When exploited, this vulnerability can lead to unauthorized access to user sessions and personal data through cache deception attacks. The primary risk occurs when cached responses containing sensitive information are served to other users, particularly in environments where CDN caching is enabled (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to version 1.0.12 or later which contains the patch for this vulnerability. The fix was implemented to properly handle duplicate base paths in the router (GitHub 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-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 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