CVE-2026-58654Grav
Media 5.3
Seguir: esta CVE · Grav · Grav Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 32
- CVSS 4.0
- 5.3
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 8 jul 2026
- Actualizada
- 8 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-434
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/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
The Grav API plugin (getgrav/grav-plugin-api) 1.0.0 contains an unrestricted file upload vulnerability in the avatar upload endpoint (/api/v1/users/user/avatar). The endpoint validates only the client-declared MIME type (getClientMediaType) beginning with 'image/' and does not inspect the actual file content or restrict the resulting extension, allowing an authenticated user to store arbitrary content — including PHP code, SVG with embedded JavaScript, and polyglot payloads — under user/accounts/avatars/ with predictable filenames. Direct HTTP access to the stored files is blocked by .htaccess (returns 403), but the files persist on disk and could lead to remote code execution or stored XSS in the presence of a path traversal flaw or server misconfiguration. Fixed in 1.0.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Grav.
Productos afectados
- Grav · Grav
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.