CVE-2021-36401
4.8medium
Moodle vulnerable to Stored Cross-site Scripting
- Severity
- 4.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-g6h6-4fp6-w33wBIT-MOODLE-2021-36401
Description
In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Moodle | 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions | CVE List |
| moodle/moodle (Packagist) | from 3.11.0-beta before 3.11.1, from 3.10.0-beta before 3.10.5, before 3.9.8 | GitHub Advisory Database |
| moodle moodle | before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1 | NVD |
| moodle (Bitnami) | before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.8medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:A/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=424807 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-36401 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36401 changed 2025-03-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g6h6-4fp6-w33w changed 2025-03-07 | CC-BY-4.0 |
| NVD | CVE-2021-36401 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-36401 changed 2026-09-08 | Apache-2.0 |