CVE-2025-64764CWE-80

CVE-2025-64764

High · published November 19, 2025

CVSS v3.1
7.1
EPSS
1%
Percentile
43.9
In the wild
Unconfirmed
What it is

⚡ A sneaky reflected XSS vulnerability lurks in Astro’s server islands feature, potentially allowing attackers to inject malicious scripts, even if they didn't plan for it! Think of it like a restaurant where a waiter accidentally serves a dish with a secret ingredient nobody ordered — that ingredient could be used to make diners sick. Similarly, this vulnerability lets attackers sneak in unwanted scripts and potentially wreak havoc on unsuspecting users. An attacker could exploit this flaw to execute malicious scripts in the browser of anyone visiting the affected application. This can lead to data theft, session hijacking, or redirecting users to harmful sites — all while flying under the radar!

Put simply

Think of it like a restaurant where a waiter accidentally serves a dish with a secret ingredient nobody ordered — that ingredient could be used to make diners sick. Similarly, this vulnerability lets attackers sneak in unwanted scripts and potentially wreak havoc on unsuspecting users. This reflected XSS vulnerability in Astro allows an attacker to inject and execute arbitrary JavaScript in the context of the user's browser when the server islands feature is in use, regardless of the intended functionality. This can occur through specially crafted requests that manipulate the component templates.

What to do

An attacker could exploit this flaw to execute malicious scripts in the browser of anyone visiting the affected application. This can lead to data theft, session hijacking, or redirecting users to harmful sites — all while flying under the radar! Update Astro to version 5.15.8 or later to mitigate this vulnerability. Additionally, review your application’s usage of the server islands feature to ensure proper input validation and sanitization practices are in place. You've got this! Just follow these steps to secure your application, and you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00528 · 43.9th percentile
Weakness
CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Published
2025-11-19T22:15Z
Affected products (1)
ProductVersionsFixed in
astro/astro< 5.15.85.15.8
References (2)
EPSS history
Timeline
  • 19 NOV 16:41Z
    Astro is vulnerable to Reflected XSS via the server islands feature
    cvelistv5