The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59837

CVE-2025-59837: Astro Web Framework SSRF Vulnerability

CVE-2025-59837 is a server-side request forgery flaw in Astro's image proxy that allows attackers to bypass domain validation using backslashes. This post covers the technical details, affected versions, and mitigation steps.

Updated: May 15, 2026

CVE-2025-59837 Overview

CVE-2025-59837 is a server-side request forgery (SSRF) vulnerability in the Astro web framework's image proxy component. The image proxy enforces domain validation on the href parameter to restrict outbound requests to allowed hosts. Attackers can bypass this validation by injecting backslash characters into the href parameter, causing the proxy to issue server-side requests to arbitrary URLs. The flaw also creates conditions for cross-site scripting (XSS) when attacker-controlled content is returned through the proxy. The issue is an incomplete fix for CVE-2025-58179 and affects Astro versions 5.13.4 through 5.13.9. Astro 5.13.10 contains the corrected validation logic.

Critical Impact

Unauthenticated network attackers can coerce Astro servers into issuing arbitrary outbound HTTP requests, exposing internal services and enabling reflected XSS through the image proxy response.

Affected Products

  • Astro framework versions 5.13.4 through 5.13.9 (Node.js)
  • Applications using Astro's built-in image proxy with domain allowlists
  • Server-rendered Astro deployments exposing the /_image endpoint

Discovery Timeline

  • 2025-10-28 - CVE-2025-59837 published to NVD
  • 2025-11-25 - Last updated in NVD database

Technical Details for CVE-2025-59837

Vulnerability Analysis

The Astro image proxy accepts an href parameter that specifies the source URL for image transformation. To prevent abuse, the proxy validates that the host in href matches a configured allowlist. The validation logic parses the URL and compares the extracted host against permitted domains. The patched code for CVE-2025-58179 addressed several bypass primitives but did not account for backslash characters during host extraction. Attackers supply a crafted href containing backslashes that the validation routine interprets as path separators while the underlying HTTP client treats them as part of the authority component. This parser differential routes the resulting request to an attacker-chosen host while passing the allowlist check. The classification falls under [CWE-79] in NVD, but the primary exploitation primitive is SSRF with secondary XSS depending on response handling.

Root Cause

The root cause is inconsistent URL parsing between the validation layer and the request-issuing layer. Backslashes in the href value are normalized differently by each component, allowing the validated host to differ from the requested host. The original patch for CVE-2025-58179 did not canonicalize backslashes before host comparison.

Attack Vector

An unauthenticated attacker sends a crafted GET request to the Astro image endpoint with a malicious href parameter. The crafted URL uses backslash characters to confuse the host parser. The Astro server then issues a request to an arbitrary internal or external host. Responses can be relayed back, enabling internal service enumeration, cloud metadata exfiltration, or reflected XSS when the proxied content includes script payloads.

No verified public proof-of-concept is published. See the GitHub Security Advisory GHSA-qcpr-679q-rhm2 and the corrective commits 1e2499e and 9ecf359 for the patch diff.

Detection Methods for CVE-2025-59837

Indicators of Compromise

  • Requests to the Astro /_image endpoint containing backslash characters (\) or URL-encoded backslashes (%5C) in the href query parameter
  • Outbound connections from Astro Node.js processes to internal RFC1918 addresses, link-local 169.254.169.254 metadata endpoints, or unexpected external hosts
  • Image proxy responses with non-image Content-Type values such as text/html or application/json

Detection Strategies

  • Inspect web server and reverse proxy logs for /_image?href= requests containing \, %5C, or mixed-slash hostnames
  • Correlate Astro process network telemetry against the configured image domain allowlist and alert on deviations
  • Apply web application firewall rules that decode and normalize the href parameter before allowlist enforcement

Monitoring Recommendations

  • Monitor egress traffic from web tiers running Astro for connections to cloud instance metadata services
  • Track the installed Astro version across build pipelines and runtime hosts to identify instances between 5.13.4 and 5.13.9
  • Alert on image proxy response sizes or content types that deviate from baseline image traffic patterns

How to Mitigate CVE-2025-59837

Immediate Actions Required

  • Upgrade Astro to version 5.13.10 or later in all build and deployment pipelines
  • Audit the image service domain allowlist and remove any unnecessary entries that broaden the SSRF surface
  • Review recent access logs for exploitation attempts targeting /_image with backslash payloads

Patch Information

The fix is delivered in Astro 5.13.10. The corrective changes are contained in commits 1e2499e8ea83ebfa233a18a7499e1ccf169e56f4 and 9ecf3598e2b29dd74614328fde3047ea90e67252, which normalize backslashes before host validation. Refer to the GitHub Security Advisory GHSA-qcpr-679q-rhm2 for full details.

Workarounds

  • Block requests containing backslash characters or %5C in the href query parameter at a WAF or reverse proxy
  • Disable the Astro image service or restrict it to local images only until the upgrade is deployed
  • Enforce egress filtering on the Astro host to deny outbound connections to internal networks and metadata endpoints

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechAstro

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Commit Changes
  • Related CVEs
  • CVE-2026-33769: Astro Web Framework SSRF Vulnerability

  • CVE-2026-27829: Astro Framework SSRF Vulnerability

  • CVE-2026-25545: Astro @astrojs/node SSRF Vulnerability

  • CVE-2026-45028: Astro Framework XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English