GHSA-X842-J9MJ-FFFQ
checkCSRF never compares Origin for a hyperlink-auditing POST (Content-Type: text/ping)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X842-J9MJ-FFFQ divulgada · CVSS 5.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Description
In `@builder.io/qwik-city` 1.20.3, Qwik City’s CSRF middleware validates the `Origin` header only for select content types. Certain browser-generated cross-origin POST requests can therefore reach application route handlers without an origin check, even with the default `checkOrigin: true` setting.
Impact
If a signed-in user visits an attacker-controlled page and their browser includes the application’s session cookies in the request, the attacker can trigger state changes on the user’s behalf. The bypass affects POST handlers that perform a state change without relying on the request body. The report demonstrated account deletion in a production build using the Node.js server adapter, with the two origins on the same host.
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-city |
Sin parche | — | — | 1.20.4 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-x842-j9mj-fffqLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
