{"id":"CVE-2025-55303","aliases":["GHSA-xf8x-j4p2-f749"],"url":"https://o3.security/vulnerability/CVE-2025-55303","summary":"Unauthorized third-party images in Astro’s _image endpoint","details":"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.","published":"2025-08-19T18:08:00.244Z","modified":"2026-08-08T03:47:55.775789207Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"astro","fixedVersion":"5.13.2"},{"ecosystem":"npm","name":"@astrojs/node","fixedVersion":"9.1.1"},{"ecosystem":"npm","name":"astro","fixedVersion":"4.16.19"}],"fix":{"url":"https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820","label":"withastro/astro@4d16de7"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55303.json"},{"type":"ADVISORY","url":"https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55303"},{"type":"FIX","url":"https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:47:55.775789207Z"}}