Vulnerabilities · 2026 · Astro
CVE-2026-50146
Astro vulnerability
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.
Affected products
Astro. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Astro runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Astro products
CVE-2026-54298CVE-2025-66202CVE-2025-65019CVE-2025-64765CVE-2025-64764CVE-2025-64757CVE-2025-64745CVE-2025-64525All 17
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.