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

CVE-2025-64764: Astro vulnerable to reflected XSS via the server islands feature

November 19, 2025

After some research it appears that it is possible to obtain a reflected XSS when the server islands feature is used in the targeted application, regardless of what was intended by the component template(s).

References

  • github.com/advisories/GHSA-wrwg-2hg8-v723
  • github.com/withastro/astro
  • github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
  • github.com/withastro/astro/security/advisories/GHSA-wrwg-2hg8-v723
  • nvd.nist.gov/vuln/detail/CVE-2025-64764

Code Behaviors & Features

Detect and mitigate CVE-2025-64764 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 5.15.8

Fixed versions

  • 5.15.8

Solution

Upgrade to version 5.15.8 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Source file

npm/astro/CVE-2025-64764.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:04 +0000.