CVE-2025-64525 Details
Description
Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.
A vulnerability exists in Astro versions 2.16.0 prior to 5.15.5 that use on-demand rendering. The issue arises from the insecure handling of request headers 'x-forwarded-proto' and 'x-forwarded-port', which are used to construct URLs without proper sanitization. This vulnerability can bypass middleware protections on routes, cause denial-of-service through cache poisoning if a CDN is present, allow server-side request forgery (SSRF) via 'x-forwarded-proto', create URL pollution that could lead to cross-site scripting (XSS) if a CDN is involved, and bypass web application firewalls (WAFs).
Users can update to Astro version 5.15.6 or later, where this vulnerability has been patched. The update includes improved validation and sanitization of 'X-Forwarded' headers to prevent exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| astro astro | >= 2.16.0, < 5.15.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Nov 13, 2025 | New CVE Received | [email protected] |