---
cve: "CVE-2025-55303"
severity: "MEDIUM"
cvss: 6.9
epss: "0.6%"
vendor: "withastro"
kev: false
exploited: false
published: "2025-08-19 19:15:36"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T10:59:58+02:00"
---

# CVE-2025-55303

> 6.9 MEDIUM · 🧪 PoC

## Beschreibung

Astro is a web framework for content-driven websites. In versions of astro before 5.13.2 and 4.16.18, the image optimization endpoint in projects deployed with on-demand rendering allows images from unauthorized third-party domains to be served. On-demand rendered sites built with Astro include an /_image endpoint which returns optimized versions of images. A bug in impacted versions of astro allows an attacker to bypass the third-party domain restrictions by using a protocol-relative URL as the image source, e.g. /_image?href=//example.com/image.png. This vulnerability is fixed in 5.13.2 and 4.16.18.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 84190aa42f54db98ebd1e8a43080028aeaae35ac (Commit)
- 92881331d1138ae146bbc4b0bfb9c675ca3f3d55 (Commit)

## Referenzen

- <https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749>
- <https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820>

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