← Database

CVE-2026-50146

HIGH CVSS: 7.1 Published: 2026-06-22 Modified: 2026-06-23

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 Platforms

Astro Astro

Weakness Type

CWE-80

References