2.9low
Astro: Server island encrypted parameters vulnerable to cross-component replay
- Severity
- 2.9low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-xr5h-phrj-8vxv
Description
Astro is a web framework. 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. This occurs when the application uses server islands, two different server island components share the same key name for a prop and a slot, and an attacker has full control over the value of the overlapping prop (requires a dynamically rendered page). This vulnerability is fixed in 6.1.10.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| withastro astro | < 6.1.10 | CVE List |
| astro (npm) | before 6.1.10 | GitHub Advisory Database |
| astro astro | before 6.1.10 | NVD |
All scores
| GitHub_M | 2.9low CVSS:4.0 | 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 |
| GitHub | 6.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | 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 |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
Astro is a web framework. 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. This occurs when the application uses server islands, two different server island components share the same key name for a prop and a slot, and an attacker has full control over the value of the overlapping prop (requires a dynamically rendered page). This vulnerability is fixed in 6.1.10.
GitHub Advisory Database
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
NVD (es)
Astro es un framework web. Las versiones de Astro anteriores a la 6.1.10 utilizaban cifrado AES-GCM para proteger la confidencialidad e integridad de los parámetros ’props’ y ’slots’ de las islas del servidor, pero no vinculaban el texto cifrado a su componente o tipo de parámetro previsto. Un atacante podría reutilizar el valor cifrado de ’props’ (p) de un componente como el valor de ’slots’ (s) de otro componente, o viceversa. Dado que los ’slots’ contienen HTML sin escapar en bruto mientras que los ’props’ pueden contener valores controlados por el usuario, esto podría conducir a XSS en las aplicaciones. Esto ocurre cuando la aplicación utiliza islas del servidor, dos componentes diferentes de islas del servidor comparten el mismo nombre de clave para un ’prop’ y un ’slot’, y un atacante tiene control total sobre el valor del ’prop’ superpuesto (requiere una página renderizada dinámicamente). Esta vulnerabilidad está corregida en la 6.1.10.
References
| https://github.com/withastro/astro/security/advisories/GHSA-xr5h-phrj-8vxv | vendor-advisory, web | |
| https://github.com/withastro/astro/pull/16457 | issue-tracking, patch, web | |
| https://github.com/withastro/astro/commit/3d82220a1549e699e34ed433f3846a919f4c02bd | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-45028 | advisory | |
| https://github.com/withastro/astro | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45028 changed 2026-05-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xr5h-phrj-8vxv changed 2026-05-14 | CC-BY-4.0 |
| NVD | CVE-2026-45028 changed 2026-10-26 | Public domain |