Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-50146

Astro: Reflected XSS via unescaped slot name

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

withastro astro

  • < 6.3.3affected

References