Unauthorized third-party images in Astro’s _image endpoint
CVE-2025-55303Published 19 Aug 2025, 18:08 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| astroCommon | >= 5.0.0-alpha.0, < 5.13.2; < 4.16.18 | 5.13.2, 4.16.18 |
What to do
Update to a fixed version: 5.13.2, 4.16.18.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T4: Weaponized1.000
- 10 × impact 0.3 × prerequisites 1 × threat 13.000
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 19 Aug 2025 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
CWE-79, CWE-115