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

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Astro es un framework web. Antes de la versión 6.3.3, cuando un componente utiliza una directiva client:*, Astro inserta contenido de slot con nombre en un atributo data-astro-template sin escapar el nombre del slot en HTML, permitiendo a un atacante salir del contexto del atributo e inyectar HTML arbitrario, lo que resulta en XSS reflejado durante el SSR. Esta vulnerabilidad se corrigió en la versión 6.3.3.

Information

Published : 2026-06-22 19:17

Updated : 2026-10-25 23:10


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)