CVE-2026-50146
Astro: Reflected XSS via unescaped slot name
MEDIUM 6.1EPSS 0.3%
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
- withastro · astro
- CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 GITHUB
- 7.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N - EPSS
- 0.27% chance of exploitation in the next 30 days, 18th percentile
- Published
- 2026-06-22
- Updated
- 2026-06-23