Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. astro
  4. ›
  5. CVE-2025-55303

CVE-2025-55303: Astro allows unauthorized third-party images in _image endpoint

August 19, 2025 (updated November 27, 2025)

In affected versions of astro, the image optimization endpoint in projects deployed with on-demand rendering allows images from unauthorized third-party domains to be served.

References

  • github.com/advisories/GHSA-xf8x-j4p2-f749
  • github.com/withastro/astro
  • github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820
  • github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749
  • nvd.nist.gov/vuln/detail/CVE-2025-55303

Code Behaviors & Features

Detect and mitigate CVE-2025-55303 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.16.19, all versions starting from 5.0.0-alpha.0 before 5.13.2

Fixed versions

  • 5.13.2
  • 4.16.19

Solution

Upgrade to versions 4.16.19, 5.13.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/astro/CVE-2025-55303.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:19 +0000.