CVE-2021-32475
5.4medium
Moodle stored Cross-site Scripting
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-5wjh-v7c8-wrhxBIT-MOODLE-2021-32475
Description
ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 | CVE List |
| moodle/moodle (Packagist) | from 3.5 before 3.5.18, from 3.8 before 3.8.9, from 3.9 before 3.9.7, from 3.10 before 3.10.4 | GitHub Advisory Database |
| moodle moodle | before 3.5.18, from 3.8.0 before 3.8.9, from 3.9.0 before 3.9.7, from 3.10.0 before 3.10.4 | NVD |
| moodle (Bitnami) | before 3.5.18, from 3.8.0 before 3.8.9, from 3.9.0 before 3.9.7, from 3.10.0 before 3.10.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.
NVD (es)
Los números de identificación mostrados en el informe de calificación de los cuestionarios requerían un saneo adicional para evitar un riesgo de tipo XSS almacenado. Moodle versiones 3.10 a 3.10.3, 3.9 a 3.9.6, 3.8 a 3.8.8, 3.5 a 3.5.17 y versiones anteriores no soportadas están afectadas
References
| https://moodle.org/mod/forum/discuss.php?d=422309 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32475 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32475 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5wjh-v7c8-wrhx changed 2024-04-23 | CC-BY-4.0 |
| NVD | CVE-2021-32475 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-32475 changed 2026-09-08 | Apache-2.0 |