CVE-2021-36398
5.4medium
Moodle Cross-site Scripting vulnerability
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-786g-xv8v-9h93BIT-MOODLE-2021-36398
Description
In moodle, ID numbers displayed in the web service token list required additional sanitizing to prevent a stored XSS risk.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Moodle | 3.11 | CVE List |
| moodle/moodle (Packagist) | from 3.11 before 3.11.1 | GitHub Advisory Database |
| moodle moodle | 3.11.0 | NVD |
| moodle (Bitnami) | from 3.11.0 before 3.11.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 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 |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://moodle.org/mod/forum/discuss.php?d=424804 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-36398 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36398 changed 2025-03-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-786g-xv8v-9h93 changed 2025-03-07 | CC-BY-4.0 |
| NVD | CVE-2021-36398 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-36398 changed 2026-09-08 | Apache-2.0 |