CVE-2026-59727

Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands

Astro is a web framework for content-driven websites. In versions 3.10.0 through 7.0.3, when a transition:persist, transition:scope, or transition:persist-props directive is applied to a client-hydrated (client:*) component, Astro copied the directive value onto the rendered <astro-island> element without HTML-escaping it. If a developer reflects attacker-controlled input into one of these directives, an attacker can break out of the attribute and inject arbitrary HTML/JavaScript into the server-rendered output, resulting in reflected cross-site scripting (XSS). Exploitation requires the application developer to have written a non-idiomatic pattern — passing untrusted, request-derived input directly into a transition directive. Astro applications that do not route untrusted input into these directives are unaffected. This issue has been fixed in version 7.0.4.


We have discovered 24,608 live websites that are affected by CVE-2026-59727.

Run a Free Instant Scan




Affected Software

Product  Astro
Category Static Site Generator
Vulnerable Domains24,608 live websites (93% of Astro install base)
Vulnerable Versions
  • from 3.10 through 7.0.4
Vulnerable Versions Count313 versions ( 67% of all versions)


Common Weakness Enumeration

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



Details

  • Published - Jul 27, 2026
  • Updated - Jul 28, 2026

Website Distribution by Country

Number of websites using CVE-2026-59727
United States14,592 websites



Germany1,602 websites
France792 websites
GB689 websites
Japan519 websites
Spain390 websites
Poland343 websites
Canada342 websites
Netherlands330 websites
Italy282 websites

Website Distribution by TLD

Number of websites using CVE-2026-59727
.com11,781 websites
.de953 websites
.org898 websites
.net865 websites
.fr586 websites
.co.uk485 websites
.io398 websites
.nl328 websites
.com.br301 websites
.pl296 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2026-59727

Top websites that are affected by CVE-2026-59727. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
**********.com United States**
**.cn China***
************.com United States*,***
********.jp Japan*,***
*****.com United States*,***
****.**.jp Japan*,***
*******.com United States*,***
**********.**********.com United States*,***
***********.com United States*,***
*******.io United States*,***
See full domain list

FAQ

CVE-2026-59727 is Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Astro
A total of 24,608 websites have been identified as vulnerable to CVE-2026-59727, based on global website indexing conducted by WebTechSurvey.
The Astro is affected by the CVE-2026-59727 vulnerability.
Astro versions up to 7.0.4 are vulnerable to CVE-2026-59727.
CVE-2026-59727 is resolved in version 7.0.4 of Astro.