CVE-2025-59837
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-59837 affects Astro, a web framework, specifically versions 5.13.4 through 5.13.9. The vulnerability is a bypass of a previous security fix (CVE-2025-58179) where the image proxy domain validation can be circumvented using backslashes in the href parameter. This vulnerability was discovered and disclosed on October 28, 2025, and has been patched in version 5.13.10 (GitHub Advisory).

Technical details

The vulnerability exists in Astro's image proxy functionality where the domain validation mechanism can be bypassed using backslash characters in the href parameter. The issue stems from an incomplete fix for a previous vulnerability (CVE-2025-58179). While the previous fix blocked 'http://', 'https://' and '//' patterns, it failed to account for backslash variants that could be normalized to remote URLs. The vulnerability has been assigned a CVSS v3.1 score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (GitHub Advisory).

Impact

The vulnerability can lead to Server-Side Request Forgery (SSRF) and potentially Cross-Site Scripting (XSS). This allows attackers to make server-side requests to arbitrary URLs, potentially accessing internal resources or executing malicious code (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Astro version 5.13.10. The fix includes improved validation of remote paths by detecting and blocking various backslash patterns, including URL-encoded backslashes and protocol-specific variants. Users should upgrade to version 5.13.10 or later to mitigate this vulnerability (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