CVE-2025-59837
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-59837 affects Astro, a web framework, in versions 5.13.4 and later before 5.13.10. The vulnerability is related to the image proxy domain validation which can be bypassed using backslashes in the href parameter. This vulnerability is a patch bypass of a previous vulnerability (CVE-2025-58179) (GitHub Advisory).

Technical details

The vulnerability exists in Astro's image proxy functionality where the domain validation can be bypassed by using backslashes () in the href parameter. This bypass allows server-side requests to arbitrary URLs, despite previous patches that blocked http://, https://, and // schemes. The vulnerability has been assigned a CVSS v3.1 base 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 (NVD).

Impact

The vulnerability can lead to Server-Side Request Forgery (SSRF) attacks, allowing attackers to make server-side requests to arbitrary URLs. Additionally, there is potential for Cross-Site Scripting (XSS) attacks. This dual impact makes the vulnerability particularly concerning for web applications using the affected versions of Astro (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Astro version 5.13.10. Users are strongly advised to upgrade to this version to mitigate the security risk. The fix was implemented through commits 1e2499e and 9ecf359.

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-62610HIGH8.1
  • JavaScriptJavaScript
  • hono
NoYesOct 22, 2025
CVE-2025-59837HIGH7.2
  • JavaScriptJavaScript
  • astro
NoYesOct 28, 2025
CVE-2025-62713HIGH7.2
  • JavaScriptJavaScript
  • @kottster/server
NoYesOct 23, 2025
GHSA-q7jf-gf43-6x6pMEDIUM6.5
  • JavaScriptJavaScript
  • hono
NoYesOct 24, 2025
CVE-2025-62517MEDIUM5.9
  • JavaScriptJavaScript
  • rollbar
NoYesOct 23, 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