Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify server islands with shared prop-slot key names
-
DeliveryControl prop value via dynamic page input
-
ExploitObserve encrypted prop ciphertext in response
-
InstallCraft request replaying ciphertext as slot value
-
C2Server decrypts without AAD binding verification
-
ExecuteRender replayed content as unescaped HTML
-
ImpactXSS execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Nonce/key pair uniqueness
|
| Exploitation Conditions | All of the following conditions must be present for successful exploitation: (1) The application must use Astro server islands feature; (2) Two different server island components must share the same key name, where one uses it as a prop parameter and another uses it as a slot parameter; (3) The attacker must have full control over the value of the overlapping prop (requires a dynamically rendered page where user input directly influences the prop value without sanitization). Additionally, the attacker must be able to observe encrypted values and replay them across requests. The original AES-GCM encryption still protects confidentiality and integrity against tampering, so the attacker cannot modify ciphertext or fabricate new encryptions without the key; replay is the only attack vector. Organizations using server islands but with non-overlapping prop/slot naming conventions or with server islands that do not accept attacker-controlled dynamic values are not exploitable. |
| Impact | While the CVSS score is not provided, the vulnerability has a fundamentally high impact (potential XSS) but severely constrained exploitability due to strict preconditions. The attack requires all three conditions: server islands in use, shared key names between props and slots in different components, and attacker control over a dynamically rendered prop value. These conditions are explicitly stated as 'very unlikely to occur in real-world production applications' by the vendor. The presence of a working demonstration (ACSC2026-web-astronomical repository) confirms the attack is technically feasible, but exploitation in production requires orchestrated configuration. This is a logic flaw in a cryptographic protocol rather than a traditional remote code execution; the risk profile is more similar to a design vulnerability that affects a small subset of applications with specific, non-default configurations. Priority should be moderate-to-high for organizations using server islands, but significantly lower for those who do not or who do not share prop/slot key names across components. |
| Exploit ScenarioDerived | An attacker identifies an Astro application with two server island components sharing a key name (e.g., both have a 'content' field - one as a prop, one as a slot). The attacker crafts a request to set the prop value to malicious HTML/JavaScript, observes the encrypted response, then replays that same encrypted ciphertext as the slot value in a request to the second component. The server decrypts without AAD validation, misinterprets the props ciphertext as valid slot data, and renders the attacker-controlled HTML unescaped, resulting in XSS. A proof-of-concept demonstrating this replay attack exists in the ACSC2026-web-astronomical GitHub repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 13, 2026
Astro versions prior to 6.1.10 fail to bind encrypted server island parameters to their intended component and purpose, allowing attackers to replay encrypted props as slots or vice versa. This cryptographic binding failure could lead to cross-site scripting (XSS) when applications use server islands with overlapping prop and slot names where an attacker controls prop values. The vulnerability requires very specific application architecture (shared key names, dynamically rendered pages, attacker-controlled props) making real-world exploitation unlikely, but the underlying encryption design flaw is significant.
RemediationAI
Vendor-released patch: Astro 6.1.10 and later. Upgrade immediately by running npm install astro@^6.1.10 or equivalent for your package manager. The fix is non-breaking and applies cryptographic hardening without API changes; no application code modifications are necessary. For environments unable to upgrade immediately, mitigation requires either disabling server islands entirely (set serverIslands: false in astro.config.mjs, though this breaks associated features) or architecturally refactoring to ensure no two different server island components share key names between props and slots (verify by auditing component definitions). The latter is operationally complex and error-prone; immediate patching is strongly recommended. See https://github.com/withastro/astro/security/advisories/GHSA-xr5h-phrj-8vxv and https://github.com/withastro/astro/pull/16457 for advisory details and the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Astro's server islands feature uses AES-GCM encryption to protect component props and slots during transmission. The original implementation encrypted these parameters without binding the ciphertext to contextual metadata such as the target component identity or parameter type (props vs. slots). AES-GCM provides both confidentiality and integrity protection, but without authenticated additional data (AAD) binding the ciphertext to its intended use, an attacker can replay encrypted data between different contexts. The vulnerability stems from improper use of AES-GCM; the cipher was present but not fully leveraged for its binding capabilities. The fix adds AAD strings like 'props:ComponentName' or 'slots:ComponentName' to the encryption and decryption operations, ensuring the ciphertext is cryptographically bound to both its component and purpose. This is a CWE-323 (Unprotected Transport of Credentials) variant where the binding mechanism itself was missing.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (https://github.com/withastro/astro) · only source for this CVE.
CVSS VectorVendor: https://github.com/withastro/astro
Lifecycle Timeline
2DescriptionCVE.org
Impact
Astro versions prior to 6.1.10 used AES-GCM encryption to protect the confidentiality and integrity of server island props and slots parameters, but did not bind the ciphertext to its intended component or parameter type. An attacker could replay one component's encrypted props (p) value as another component's slots (s) value, or vice versa.
Since slots contain raw unescaped HTML while props may contain user-controlled values, this could lead to XSS in applications that meet all of the following conditions:
- The application uses server islands
- Two different server island components share the same key name for a prop and a slot
- An attacker has full control over the value of the overlapping prop (requires a dynamically rendered page)
These conditions are very unlikely to occur in real-world production applications.
Patches
This has been patched in astro@6.1.10.
The fix binds each encrypted parameter to its target component and purpose using AES-GCM authenticated additional data (AAD). Each ciphertext now includes context like props:IslandName or slots:IslandName, so encrypted data for one component cannot be replayed against a different component, and encrypted props cannot be reused as slots.
References
- Fix PR: https://github.com/withastro/astro/pull/16457
- Example demonstrating the vulnerability: https://github.com/CyberSecurityAustria/ACSC2026-web-astronomical
Blast Radius
ecosystem impact- 1 npm packages depend on astro (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 6.1.10.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-30054
GHSA-xr5h-phrj-8vxv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB