Patchfirst
CVE-2025-64764 Public exploit High · 7.1 EPSS 0.5%

Astro is vulnerable to Reflected XSS via the server islands feature

Fix:upgrade astro to 5.15.8 or later also fixes CVE-2024-56159, CVE-2025-55303 Details ↓

withastro · astro

Summary

Astro, the withastro web framework, contains a reflected cross-site scripting flaw in its server islands feature, affecting versions prior to 5.15.8 whenever an application uses that feature. An attacker can inject script into pages served by the affected application over the network without authenticating, but a user must interact with a crafted link or page for the script to execute.

Official description · CVE.org

Astro is a web framework. Prior to version 5.15.8, a reflected XSS vulnerability is present when the server islands feature is used in the targeted application, regardless of what was intended by the component template(s). This issue has been patched in version 5.15.8.

Breakdown
59.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 26 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+26 days

7 fixes in astro over 4 weeks. The latest fix listed for astro is 5.15.9.

Fixes in astronpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 5.14.3CVE-2025-6475719 Nov 2025
  2. 5.15.5CVE-2025-6452513 Nov 2025
  3. 5.15.6CVE-2025-6474513 Nov 2025
  4. 5.15.8CVE-2025-6476419 Nov 2025
  5. 5.15.8CVE-2025-6476519 Nov 2025
  6. 5.15.8CVE-2025-662028 Dec 2025
  7. 5.15.9CVE-2025-6501919 Nov 2025Latest listed

Affected versions and fixes

as published in the CVE record

withastro astro

Affected: < 5.15.8

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: astro.

Upgrade to 5.15.8 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2024-56159, CVE-2025-55303).

npmnpm install astro@5.15.8

The first fix for CVE-2025-64764.

Affected versions

If you runUpgrade to
All versions before 5.15.85.15.8

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close