Web Framework Vulnerability in Astro Affects Multiple Versions
CVE-2025-64525

6.5MEDIUM

Key Information:

Vendor

Withastro

Status
Vendor
CVE Published:
13 November 2025

What is CVE-2025-64525?

CVE-2025-64525 is a vulnerability found within the Astro web framework, specifically affecting versions 2.16.0 through 5.15.5. The Astro framework is designed to facilitate building fast and efficient websites by leveraging on-demand rendering techniques. This vulnerability stems from the insecure handling of request headers x-forwarded-proto and x-forwarded-port. Without proper sanitization, these headers are used to construct URLs, which poses several risks to organizations utilizing this framework. The potential exploitation could lead to significant security breaches and operational disruptions.

Potential impact of CVE-2025-64525

  1. Authentication Bypass: Attackers can exploit this vulnerability to bypass middleware-protected routes, potentially gaining unauthorized access to sensitive sections of a web application.

  2. Denial of Service (DoS) via Cache Poisoning: If a Content Delivery Network (CDN) is deployed, attackers may leverage the flaw to poison the cache, disrupting service availability and degrading user experience.

  3. Server-Side Request Forgery (SSRF): By crafting malicious requests, attackers could trick the system into making requests to internal resources or other restricted locations, leading to further exploitation and data exposure.

Affected Version(s)

astro >= 2.16.0, < 5.15.5

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-64525 : Web Framework Vulnerability in Astro Affects Multiple Versions