llamaCVEVulnerability Intelligence
/
astro

CVE-2026-59729

Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for CVE-2026-54298)

Parche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 4.0
5.1
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -25 d de la divulgación
Exposición114 dDesde la divulgación, 27 jul 2026, 2:38 p. m.
Detección112 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 7.0.6
Monitoreo
Detectada
2 jul 26
27 jul 26
28 jul 26
17 nov 26
19 nov 26
2 jul 26
6 ago 26
10 sept 26
15 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 7.0.6 astro · -25 d desde divulgación
Divulgación Publicada CVE-2026-59729 divulgada · CVSS 5.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Astro is a web framework for content-driven websites. Versions prior to 7.0.6 are vulnerable to XSS through unescaped spread attribute names in renderHTMLElement. The fix for CVE-2026-54298 (GHSA-jrpj-wcv7-9fh9) added an INVALID_ATTR_NAME_CHAR guard to addAttribute() so that spread-prop attribute names containing "' >/= or whitespace are dropped. A second attribute-rendering path, renderHTMLElement() in packages/astro/src/runtime/server/render/dom.ts, has its own inline attribute loop that does not go through addAttribute() and was not updated. It interpolates the attribute name unescaped and only escapes the value, so untrusted prop keys spread onto a native-HTMLElement-subclass component can still break out of the attribute context. This issue has been fixed in version 7.0.6.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:A
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:L
AltoBajoNinguno
Integridad (posterior)SI:L
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
astro< 7.0.6
7.0.6
7.4.12
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmastro
Corregida 7.0.6 -25 d 7.4.12 no afectada
Versiones corregidas7.0.6
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/withastro/astro/security/advisories/GHSA-f48w-9m4c-m7f5
Otrahttps://github.com/withastro/astro/pull/17251
Otrahttps://github.com/withastro/astro/commit/5240e26c9dd91f9bc7140dcfacdb48d5a132830d
Otrahttps://github.com/withastro/astro/releases/tag/astro@7.0.6

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.