CVE-2021-20279
5.4medium
Moodle contains Stored XSS via ID number user profile field
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.00% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-h7h6-fwpv-ggvxBIT-MOODLE-2021-20279
Description
The ID number user profile field required additional sanitizing to prevent a stored XSS risk in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | Fixed in 3.10.2, 3.9.5, 3.8.8, 3.5.17 | CVE List |
| moodle/moodle (Packagist) | from 3.10 before 3.10.2, from 3.9 before 3.9.5, from 3.8 before 3.8.8, from 3.5 before 3.5.17 | GitHub Advisory Database |
| moodle moodle | from 3.5.0 before 3.5.17, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.5, from 3.10.0 before 3.10.2 | NVD |
| fedoraproject fedora | 32, 34 | NVD |
| moodle (Bitnami) | from 3.5.0 before 3.5.17, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.5, from 3.10.0 before 3.10.2 | 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
The ID number user profile field required additional sanitizing to prevent a stored XSS risk in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
NVD (es)
El campo ID number user profile requerÃa un saneamiento adicional para evitar un riesgo de tipo XSS almacenado en moodle versiones anteriores a 3.10.2, 3.9.5, 3.8.8, 3.5.17
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20279 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h7h6-fwpv-ggvx changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-20279 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-20279 changed 2026-09-08 | Apache-2.0 |