High severity7.1GHSA Advisory· Published Jun 22, 2026· Updated Jun 23, 2026
CVE-2026-50146
CVE-2026-50146
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
astronpm | < 6.3.3 | 6.3.3 |
Affected products
3Patches
Vulnerability mechanics
References
3- github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqpnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-8hv8-536x-4wqpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-50146ghsaADVISORY
News mentions
0No linked articles in our index yet.