CVE-2025-55303

published 19 Aug 2025 · updated 19 Aug 2025

Unauthorized third-party images in Astro’s _image endpoint

7.9HighCVSS 6.9EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
withastro<4.16.18, >=5.0.0-alpha.0 <5.13.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-55303 severity on Zeptric[![CVE-2025-55303](https://zeptric.io/badge/cve/CVE-2025-55303.svg)](https://zeptric.io/cve/CVE-2025-55303)