Skip to main content

Astro CVE-2026-45028

| EUVDEUVD-2026-30054 LOW
Reusing a Nonce, Key Pair in Encryption (CWE-323)
2026-05-13 https://github.com/withastro/astro GHSA-xr5h-phrj-8vxv
2.9
CVSS 4.0 · Vendor: https://github.com/withastro/astro
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify server islands with shared prop-slot key names
  2. Delivery
    Control prop value via dynamic page input
  3. Exploit
    Observe encrypted prop ciphertext in response
  4. Install
    Craft request replaying ciphertext as slot value
  5. C2
    Server decrypts without AAD binding verification
  6. Execute
    Render replayed content as unescaped HTML
  7. Impact
    XSS 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

astro < 6.1.10

Affected Packages

npm astro fix: 6.1.10

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

Vendor (https://github.com/withastro/astro) PRIMARY 2.9 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 13, 2026 - 16:22 NVD
2.9 (LOW)
CVE Published
May 13, 2026 - 01:36 nvd
LOW

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

14
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy