6.1medium
Moodle reflected XSS
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.31% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-78fm-qhh8-8858BIT-MOODLE-2021-32478
Description
The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 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 | CVE List |
| moodle/moodle (Packagist) | from 3.10 before 3.10.4, from 3.9 before 3.9.7, from 3.8 before 3.8.9 | GitHub Advisory Database |
| moodle moodle | 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.8.9, from 3.9.0 before 3.9.7, from 3.10.0 before 3.10.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 and earlier unsupported versions are affected.
NVD (es)
El URI de redireccionamiento en el endpoint de autorización de LTI requería un saneamiento adicional para evitar los riesgos de tipo XSS reflejado y redireccionamiento abierto. Moodle versiones 3.10 a 3.10.3, 3.9 a 3.9.6, 3.8 a 3.8.8 y las versiones anteriores no soportadas están afectadas
References
| https://moodle.org/mod/forum/discuss.php?d=422314 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32478 | advisory, web | |
| https://github.com/moodle/moodle/commit/752ad3d8eb4f9ac22dbf1461aa69d6e0baee503e | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32478 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-78fm-qhh8-8858 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-32478 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-32478 changed 2026-09-08 | Apache-2.0 |