Skip to main content
← All vulnerabilities
CVE-2026-50146GHSA-8HV8-536X-4WQP

Astro: Reflected XSS via unescaped slot name

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • withastro astro

    fixed in 6.3.3

  • astronpm

    fixed in 6.3.3

References 1

GitHub · withastro/astro