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

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/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. Learn more about Dependency Scanning →

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.

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 Sat, 23 Aug 2025 00:18:14 +0000.