Medium severity · published Aug 19, 2025
CVE-2025-55303
Astro is a web framework for content-driven websites
6.1
CVSS
0.6%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Astro · Astro
before 4.16.18; 5.0.0 before 5.13.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-55303
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-55303
Patch
https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820
Exploit
https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749
More from Astro
7.5
CVE-2026-54299
Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)
7.2
CVE-2025-59837
astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
6.5
CVE-2025-66202
Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
6.5
CVE-2025-64525
Astro: URL manipulation via unsanitized headers leads to path-based middleware protections bypass, potential SSRF/cache-poisoning, CVE-2025-61925 bypass
6.5
CVE-2025-61925
Astro's `X-Forwarded-Host` is reflected with no validation
