CVE-2021-27131Moodle
Media 5.4
Seguir: esta CVE · Moodle · Moodle Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.7% probabilidad de explotación en 30 días · percentil 54
- Requiere autenticación
- Sí
- Publicada
- 16 may 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Qué pasa
Moodle 3.10.1 is vulnerable to persistent/stored cross-site scripting (XSS) due to the improper input sanitization on the "Additional HTML Section" via "Header and Footer" parameter in /admin/settings.php. This vulnerability is leading an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer. NOTE: this is disputed by the vendor because the "Additional HTML Section" for "Header and Footer" can only be supplied by an administrator, who is intentionally allowed to enter unsanitized input (e.g., site-specific JavaScript).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Moodle.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≤ 3.10.1 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-w2pm-fr62-jgv4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| moodle | moodle | 3.10.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- docs.moodle.org
- github.com Product
- github.com Exploit