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.
References
| Link | Resource |
|---|---|
| https://github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqp | Exploit Mitigation Vendor Advisory |
| https://github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqp | Exploit Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-06-22 19:17
Updated : 2026-06-23 15:16
NVD link : CVE-2026-50146
Mitre link : CVE-2026-50146
CVE.ORG link : CVE-2026-50146
JSON object : View
Products Affected
astro
- astro
CWE
CWE-80
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
