CVE-2026-45028
JSON

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 packageVersionsReported by
withastro astro< 6.1.10CVE List
astro (npm)before 6.1.10GitHub Advisory Database
astro astrobefore 6.1.10NVD

All scores

GitHub_M2.9low CVSS:4.0CVSS: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
GitHub6.1low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHublow CVSS:4.0CVSS: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
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-323

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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
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

Sources

SourceRecordLicence
CVE ListCVE-2026-45028 changed 2026-05-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-xr5h-phrj-8vxv changed 2026-05-14CC-BY-4.0
NVDCVE-2026-45028 changed 2026-10-26Public domain