CVE-2025-24358gorilla csrf
Media 5.4 Sin autenticación
Seguir: esta CVE · gorilla · gorilla csrf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 4.0
- 5.4
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 15 abr 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-352
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services. Prior to 1.7.2, gorilla/csrf does not validate the Origin header against an allowlist. Its executes its validation of the Referer header for cross-origin requests only when it believes the request is being served over TLS. It determines this by inspecting the r.URL.Scheme value. However, this value is never populated for "server" requests per the Go spec, and so this check does not run in practice. This vulnerability allows an attacker who has gained XSS on a subdomain or top level domain to perform authenticated form submissions against gorilla/csrf protected targets that share the same top level domain. This vulnerability is fixed in 1.7.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para csrf.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/gorilla/csrf |
< 1.7.3 |
1.7.3 |
go get github.com/gorilla/csrf@v1.7.3 |
| Go | github.com/gorilla/csrf |
< 1.7.3 |
1.7.3 |
go get github.com/gorilla/csrf@v1.7.3 |
Según OSV / GitHub Advisories (GHSA-rq77-p4h8-4crw, GO-2025-3607). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- gorilla · csrf
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- velociraptor-0.7.0.4.git185.a5708584-2.1 on GA media · SUSE · openSUSE-SU-2026:11126-1 · 25 jun 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.