Cloudanix VulnDB

CVE-2025-64525

Medium · 6.5

Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass

CVSS

6.5

EPSS

1.2%

Published

Nov 13, 2025

CISA due date

—

The record

In impacted versions of Astro using [on-demand rendering](https://docs.astro.build/en/guides/on-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) - WAF bypass

Affected packages

Ecosystem Package Introduced Fixed
npm astro 2.16.0 5.15.5

Related vulnerabilities