Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-45028: CWE-323: Reusing a Nonce, Key Pair in Encryption in withastro astro

0
Low
VulnerabilityCVE-2026-45028cvecve-2026-45028cwe-323
Published: 05/13/2026 (05/13/2026, 15:50:49 UTC)
Source: CVE Database V5
Vendor/Project: withastro
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

astro
pkg:npm/astro
Affected versions
<6.1.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 18:44:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses