Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @astrojs/node
  4. ›
  5. CVE-2025-55303

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

August 19, 2025 (updated November 10, 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. Learn more about Dependency Scanning →

Affected versions

All versions before 9.1.1

Fixed versions

  • 9.1.1

Solution

Upgrade to version 9.1.1 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/@astrojs/node/CVE-2025-55303.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 20 Nov 2025 12:19:39 +0000.