CVE-2026-50146

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*

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)