CVE-2026-45028 Astro: Server island encrypted parameters vulnerable to cross-component replay
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| astro | < 6.1.10 | 6.1.10 | Fixed |
| npm astro(npm) | < 6.1.10 | 6.1.10 | Fixed |
| withastro astro | = < 6.1.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = < 6.1.10 | No fix listed |
| npm astro(npm) | < 6.1.10 | 6.1.10 |
| astro | < 6.1.10 | 6.1.10 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-xr5h-phrj-8vxv vendor-advisory
- https://github.com/withastro/astro/pull/16457 issue-tracking patch
- https://github.com/withastro/astro/commit/3d82220a1549e699e34ed433f3846a919f4c02bd patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product