CVE Tools

CVE-2026-50146

Astro: Reflected XSS via unescaped slot name

Published: Jun 22, 2026Updated: Jun 22, 2026 Sources: CVE List NVDCWE-80

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.

CVSS Vector Breakdown

AV:NAC:LPR:NUI:RS:UC:LI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:LConfidentiality
Low
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

withastrooss-projectOSS Librariesaka astro, @astrojs/cloudflare
astrooss-projectUSOSS Librariesaka @astrojs/node, @astrojs/cloudflare

Exploitability

Workaround Available

References

Timeline

Published
Jun 22, 2026
Last Updated
Jun 22, 2026

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-50146 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows