GHSA-P68F-FR8F-93G9
XSS: SSR attribute-name guard misses the carriage return
Texto original en inglés · Ver en español
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 |
|---|---|---|---|
| Divulgación | Publicada | GHSA-P68F-FR8F-93G9 divulgada · CVSS 6.1 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Description
Qwik’s server-side rendering attribute-name validator does not reject carriage return characters. This omission allows attribute names containing carriage returns to be interpreted as multiple HTML attributes by the browser, including executable event handlers. Escaping attribute values does not prevent this issue because the validation gap affects attribute names.
### Impact
Applications that include untrusted attribute names in server-rendered markup may be vulnerable to cross-site scripting (XSS), allowing JavaScript execution in the application’s origin. Potential consequences include disclosure of browser-accessible data, modification of page content, and authenticated actions performed with the affected user’s permissions. Exposure depends on application code accepting attacker-influenced attribute names; user interaction requirements depend on the resulting markup.
### Credits
- Thai Son Dinh (sondt) from VinSOC Labs
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@qwik.dev/core |
Sin parche | — | — | 0.0.0 no afectada |
Arsenal 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-p68f-fr8f-93g9Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
