CVE-2026-126363
Astro cross-site scripting in Solid.js renderer
An attacker can inject active HTML that runs in a victim's browser through a crafted slot name.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 7.1.2 | @astrojs/solid-js · -15 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-126363 divulgada · CVSS 2.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Astro, a web framework, has a cross-site scripting flaw in its Solid.js renderer (@astrojs/solid-js) that lets an attacker inject active HTML through a crafted slot name in a request. The bug can be reached remotely without logging in, but it needs a victim to take an action, and it only applies when a hydrated Solid component dynamically reads the attacker-chosen slot.
Descripción original del registro (GitHub_M)
Astro is a web framework for content-driven websites. From 0.2.0 until 7.1.2, the @astrojs/solid-js renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. A request-controlled slot name containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Solid component using a client:* directive and dynamic access to the attacker-chosen slot property; a component that did not render that slot emitted only escaped fallback content. This issue is fixed in version 7.1.2.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@astrojs/solid-js |
Corregida | 7.1.2 | -15 d | 7.1.6 no afectada |
7.1.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/withastro/astro/security/advisories/GHSA-jmv2-qgxf-f995https://github.com/withastro/astro/commit/290b196ddb48de11783ff128e2b7272c61490a20https://github.com/withastro/astro/releases/tag/@astrojs/solid-js@7.1.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
