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.
Astro versions before 6.1.10 lack proper binding between encrypted props and slots parameters, allowing attackers to replay encrypted values across different component types. This can lead to XSS vulnerabilities when server islands share identical key names for props and slots with attacker-controlled values.
تفتقر نسخ Astro السابقة للإصدار 6.1.10 إلى آلية ربط قوية بين النصوص المشفرة والمكونات المقصودة، مما يسمح بإعادة تشغيل القيم المشفرة بين مكونات مختلفة. عندما تشارك جزر الخادم أسماء مفاتيح متطابقة بين الخصائص (props) والفتحات (slots)، يمكن للمهاجم الذي يتحكم في قيم الخصائص تنفيذ هجمات XSS من خلال إعادة تشغيل البيانات المشفرة.
إصدارات Astro السابقة للإصدار 6.1.10 تفتقر إلى ربط مناسب بين معاملات الخصائص والفتحات المشفرة، مما يسمح للمهاجمين بإعادة تشغيل القيم المشفرة عبر أنواع مكونات مختلفة. قد يؤدي هذا إلى ثغرات XSS عندما تشارك جزر الخادم أسماء مفاتيح متطابقة للخصائص والفتحات مع قيم يتحكم فيها المهاجم.
Upgrade Astro to version 6.1.10 or later immediately. Review all server island implementations to ensure props and slots use distinct key names. Implement Content Security Policy (CSP) headers to mitigate XSS impact. Validate and sanitize all user-controlled values before rendering.
قم بترقية Astro إلى الإصدار 6.1.10 أو أحدث على الفور. راجع جميع تطبيقات جزر الخادم للتأكد من استخدام الخصائص والفتحات لأسماء مفاتيح مميزة. تطبيق رؤوس سياسة أمان المحتوى (CSP) للتخفيف من تأثير XSS. التحقق من صحة وتنظيف جميع القيم التي يتحكم فيها المستخدم قبل العرض.