Vulnerability

CVE-2026-50146

mediumCVSS 3.1 6.1Published 22 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Astro astro

Weakness type

References

  • github.com /withastro/astro/security/advisories/GHSA-8hv8-536x-4wqp

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning