GHSA-95RH-5545-X9PQ
Qwik SSR virtual attribute property names allow HTML comment breakout and XSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.20.1 | @builder.io/qwik · -9 d desde divulgación | |
| Divulgación | Publicada | GHSA-95RH-5545-X9PQ divulgada · CVSS 6.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Qwik 1.20.0 still writes virtual node attribute names directly into server-rendered HTML comments. The prior fix for GHSA-m6jq-g7gq-5w3c escapes virtual attribute values, but the virtual attribute property names are concatenated into `<!--qv ...-->` without validation or escaping.
Impact
If an application lets an attacker control object keys that are spread onto a Qwik `Virtual` node, or onto a public wrapper that returns a `Virtual` node such as `HTMLFragment`, the attacker can close the SSR comment and inject executable HTML. The script executes when a victim loads the affected server-rendered page.
This is not universal XSS in every Qwik application. It requires attacker control over virtual attribute property names, not just attribute values. The value path is escaped correctly in the latest release.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@builder.io/qwik |
Corregida | 1.20.1 | -9 d | 1.20.4 no afectada |
1.20.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/QwikDev/qwik/security/advisories/GHSA-95rh-5545-x9pqLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
