---
cve: "CVE-2025-64525"
severity: "MEDIUM"
cvss: 6.5
epss: "1.2%"
vendor: "withastro"
kev: false
exploited: false
published: "2025-11-13 16:15:56"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T15:24:00+02:00"
---

# CVE-2025-64525

> 6.5 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- ab34340fc7bea4153018bb8b25b5f521cb08566c (Commit)
- dafbb1ba29912099c4faff1440033edc768af8b4 (Commit)

## Referenzen

- <https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767>
- <https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4>
- <https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121>
- <https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-64525) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
