Security mailing lists by PureSourceCode

CVE-2025-55303

MEDIUM 6.9CVSS 4.0

Astro allows unauthorized third-party images in _image endpoint

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
19 Aug 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-xf8x-j4p2-f749
Sources
NVDJSONOSV GHSA-xf8x-j4p2-f749JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.9 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD astro astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
< 4.16.18 4.16.18
NVD astro astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.13.2 5.13.2
OSV npm astro >= 5.0.0-alpha.0, < 5.13.2 5.13.2
OSV npm @astrojs/node < 9.1.1 9.1.1
OSV npm astro < 4.16.19 4.16.19

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 19 Aug 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.