GHSA-666V-H3XV-69CV
Untrusted X-Forwarded-Host overrides the trusted origin in SSR router state
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-666V-H3XV-69CV divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Forwarded-header trust issue in Qwik Router SSR
Summary
Qwik Router uses forwarded host and protocol headers to construct the URL exposed during server-side rendering. If a deployment accepts client-controlled forwarding headers, an unauthenticated attacker can influence absolute URLs generated from that value, including canonical links and page metadata.
Affected configuration
Deployments where forwarding headers reach Qwik Router without being removed or overwritten by a trusted proxy.
Affected release versions have not been established.
Impact
Attackers may cause rendered pages to reference an attacker-controlled domain.
When the built-in SSR cache is enabled and its key does not distinguish the affected request values, a manipulated response may also be cached and served to other visitors.
Remediation
Accept forwarding headers only from trusted proxies and validate the resulting origin against the deployment’s configured public origin. Ensure cached responses cannot be contaminated by untrusted request headers.
Weakness: CWE-346 — Origin Validation Error.
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-666v-h3xv-69cvLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
