CVE-2025-59837CWE-79CWE-918cross-site-scriptingssrf

CVE-2025-59837

High · published October 29, 2025

CVSS v3.1
7.2
EPSS
0%
Percentile
27.5
In the wild
Unconfirmed
What it is

⚡ A sneaky bypass in Astro’s image proxy could let attackers flip the script and request any URL they want! Think of it like a restaurant waiter who takes orders without checking if the meal is on the menu. If you slip in a secret backdoor item (like backslashes), they might unwittingly fetch dishes that aren't safe to serve! This vulnerability opens the door to Server-Side Request Forgery (SSRF) attacks, allowing malicious users to manipulate the server into contacting internal or sensitive resources. Worst case? This could lead to even more serious exploits like Cross-Site Scripting (XSS) if exploited correctly. Your server could become a tool for attackers, leading to disastrous data leaks!

Put simply

Think of it like a restaurant waiter who takes orders without checking if the meal is on the menu. If you slip in a secret backdoor item (like backslashes), they might unwittingly fetch dishes that aren't safe to serve! In versions 5.13.4 to 5.13.9 of the Astro framework, an incomplete fix allows attackers to bypass domain validation in the image proxy via backslashes in the href parameter, opening the door to SSRF and potential XSS attacks.

What to do

This vulnerability opens the door to Server-Side Request Forgery (SSRF) attacks, allowing malicious users to manipulate the server into contacting internal or sensitive resources. Worst case? This could lead to even more serious exploits like Cross-Site Scripting (XSS) if exploited correctly. Your server could become a tool for attackers, leading to disastrous data leaks! Upgrade to Astro version 5.13.10 immediately to patch this vulnerability. Double-check your configurations and ensure that any input handling is thoroughly sanitized to prevent future issues. Regularly review your security measures to stay ahead of potential threats! You've got this! With a quick update, you’ll be one step closer to fortifying your server against sneaky exploits! 🛡️

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00351 · 27.5th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-10-29T00:15Z
Affected products (1)
ProductVersionsFixed in
astro/astro≥ 5.13.4, < 5.13.105.13.10
References (3)
EPSS history
Timeline
  • 28 OCT 19:54Z
    astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
    cvelistv5