CVE-2026-45028: CWE-323: Reusing a Nonce, Key Pair in Encryption in withastro astro
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.
AI Analysis
Technical Summary
Astro, a web framework, used AES-GCM encryption to protect server island props and slots parameters but failed to bind ciphertext to its intended component or parameter type. This allowed an attacker to replay encrypted props as slots or vice versa, potentially causing XSS when slots contain raw unescaped HTML and props contain user-controlled values. The issue arises when two different server island components share the same key name for a prop and a slot, and the attacker controls the overlapping prop value on a dynamically rendered page. The vulnerability is tracked as CVE-2026-45028 and is fixed in Astro version 6.1.10.
Potential Impact
An attacker with control over certain prop values in a vulnerable Astro application could exploit this flaw to perform cross-site scripting (XSS) attacks by replaying encrypted data between props and slots. This could lead to injection of malicious HTML or scripts in the application. The CVSS score is low (2.9), reflecting limited impact and exploitation complexity.
Mitigation Recommendations
Upgrade Astro to version 6.1.10 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in 6.1.10, applying this official fix is the recommended remediation. No additional mitigation steps are specified.
CVE-2026-45028: CWE-323: Reusing a Nonce, Key Pair in Encryption in withastro astro
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.
CVSS v4.0
Score 2.9low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Astro, a web framework, used AES-GCM encryption to protect server island props and slots parameters but failed to bind ciphertext to its intended component or parameter type. This allowed an attacker to replay encrypted props as slots or vice versa, potentially causing XSS when slots contain raw unescaped HTML and props contain user-controlled values. The issue arises when two different server island components share the same key name for a prop and a slot, and the attacker controls the overlapping prop value on a dynamically rendered page. The vulnerability is tracked as CVE-2026-45028 and is fixed in Astro version 6.1.10.
Potential Impact
An attacker with control over certain prop values in a vulnerable Astro application could exploit this flaw to perform cross-site scripting (XSS) attacks by replaying encrypted data between props and slots. This could lead to injection of malicious HTML or scripts in the application. The CVSS score is low (2.9), reflecting limited impact and exploitation complexity.
Mitigation Recommendations
Upgrade Astro to version 6.1.10 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in 6.1.10, applying this official fix is the recommended remediation. No additional mitigation steps are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T16:58:28.897Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a04a50ccbff5d8610e804bb
Added to database: 05/13/2026, 16:21:32 UTC
Last enriched: 05/20/2026, 18:44:47 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 93
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.