Description
Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-20 — CWE-20: Improper Input Validation
- CWE-918 — CWE-918: Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| withastro | astro | < 6.4.6 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-2pvr-wf23-7pc7 (x_refsource_CONFIRM)
Generated from the official CVE List on 23 Jun 2026 10:05 UTC.