{"cve":"CVE-2025-55303","nvd":{"published":"2025-08-19T19:15:36.880","modified":"2026-06-17T09:41:36.960","status":"Analyzed","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-115"],"references":["https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820","https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749","https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749"],"products":["astro:astro"],"source":"nvd","synced_at":"2026-10-19T22:07:46.309729541+00:00"},"epss":{"cve":"CVE-2025-55303","score":0.00637,"percentile":0.5053,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xf8x-j4p2-f749","url":"https://osv.dev/vulnerability/GHSA-xf8x-j4p2-f749","summary":"Astro allows unauthorized third-party images in _image endpoint","modified":"2025-11-27T08:22:36.525875Z","packages":[{"ecosystem":"npm","name":"astro","purl":"pkg:npm/astro","ranges":[">=5.0.0-alpha.0 <5.13.2"],"fixed":["5.13.2"]},{"ecosystem":"npm","name":"@astrojs/node","purl":"pkg:npm/%40astrojs/node","ranges":["<9.1.1"],"fixed":["9.1.1"]},{"ecosystem":"npm","name":"astro","purl":"pkg:npm/astro","ranges":["<4.16.19"],"fixed":["4.16.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}