XSS Vulnerability in Astro Web Framework Affects Multiple Versions
CVE-2026-50146
7.1HIGH
What is CVE-2026-50146?
The Astro web framework, before version 6.3.3, contains a vulnerability where components utilizing a client:* directive inadvertently allow arbitrary HTML injection due to a lack of HTML escaping in the data-astro-template attribute. This enables attackers to exploit reflected cross-site scripting (XSS) during server-side rendering, posing a significant risk to web applications built on this framework.
Affected Version(s)
astro < 6.3.3
