CVE-2025-55303 Details
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.
A vulnerability in the Astro web framework, affecting versions prior to 5.13.2 and 4.16.18, allows unauthorized images from third-party domains to be served through the project's image optimization endpoint. This issue arises in on-demand rendered sites, which include an '/_image' endpoint for optimized image delivery. The vulnerability allows attackers to bypass domain restrictions by using protocol-relative URLs as image sources, exploiting the endpoint to serve images from unapproved origins.
Users can update to Astro versions 5.13.2 or 4.16.18 and later. For projects using the Node adapter, ensure to update to version 9.1.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820 | [email protected] | Patch |
| https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-115 | Misinterpretation of Input | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| astro astro | < 4.16.18 >= 5.0.0, < 5.13.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Aug 19, 2025 | CVE Modified | CISA-ADP |
| Aug 19, 2025 | New CVE Received | [email protected] |