Vulnerability Description
Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content into a data-astro-template attribute without HTML escaping the slot name allowing an attacker to break out of the attribute context and inject arbitrary HTML, resulting in reflected XSS during SSR. This vulnerability is fixed in 6.3.3.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Astro | Astro | < 6.3.3 |
Related Weaknesses (CWE)
References
- https://github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqpExploitMitigationVendor Advisory
- https://github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqpExploitMitigationVendor Advisory
FAQ
What is CVE-2026-50146?
CVE-2026-50146 is a vulnerability with a CVSS score of 7.1 (HIGH). Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content into a data-astro-template attribute without HTML escaping the slot name allowing...
How severe is CVE-2026-50146?
CVE-2026-50146 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50146?
Check the references section above for vendor advisories and patch information. Affected products include: Astro Astro.