CVE-2021-20186 Moodle Cross-site Scripting
MediumCVSS 5.4
EPSS 0.76%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPUbuntu
Description
It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that if the TeX notation filter was enabled, additional sanitizing of TeX content was required to prevent the risk of stored XSS.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/moodle(Ubuntu Pro 16.04) | = 2.7.9+dfsg-1; = 2.7.10+dfsg-1; = 2.7.11+dfsg-1; = 2.7.11+dfsg-2 +4 more | No fix listed | No fix yet |
| ubuntu/moodle(Ubuntu Pro 18.04) | = 3.0.3+dfsg-0ubuntu1; = 3.0.3+dfsg-0ubuntu1+esm1; All versions | No fix listed | No fix yet |
| moodle/moodle | < 3.5.16; >= 3.8.0, < 3.8.7; >= 3.9.0, < 3.9.4; >= 3.10.0, < 3.10.1 | 3.5.16, 3.8.7, 3.9.4, 3.10.1 | Fixed |
| moodle/moodle(Packagist) | = v3.5.0; = v3.5.0-beta; = v3.5.0-rc1; = v3.5.1 +39 more | 3.5.16, 3.8.7, 3.9.4, 3.10.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle/moodle(Packagist) | >= 3.10, < 3.10.1 | 3.10.1 |
| moodle/moodle(Packagist) | = v3.10.0 | No fix listed |
| moodle/moodle(Packagist) | = v3.10.0-beta | No fix listed |
| moodle/moodle(Packagist) | = v3.10.0-rc1 | No fix listed |
| moodle/moodle(Packagist) | = v3.10.0-rc2 | No fix listed |
| moodle/moodle(Packagist) | >= 3.9, < 3.9.4 | 3.9.4 |
| moodle/moodle(Packagist) | = v3.9.0 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.0-beta | No fix listed |
| moodle/moodle(Packagist) | = v3.9.0-rc1 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.0-rc2 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.0-rc3 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.1 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.2 | No fix listed |
| moodle/moodle(Packagist) | = v3.9.3 | No fix listed |
| moodle/moodle(Packagist) | >= 3.8, < 3.8.7 | 3.8.7 |
| moodle/moodle(Packagist) | = v3.8.0 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.0-beta | No fix listed |
| moodle/moodle(Packagist) | = v3.8.0-rc1 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.1 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.2 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.3 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.4 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.5 | No fix listed |
| moodle/moodle(Packagist) | = v3.8.6 | No fix listed |
| moodle/moodle(Packagist) | >= 3.5, < 3.5.16 | 3.5.16 |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle/moodle(Packagist) | = v3.5.0 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.0-beta | No fix listed |
| moodle/moodle(Packagist) | = v3.5.0-rc1 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.1 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.10 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.11 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.12 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.13 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.14 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.15 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.2 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.3 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.4 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.5 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.6 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.7 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.8 | No fix listed |
| moodle/moodle(Packagist) | = v3.5.9 | No fix listed |
| moodle/moodle | < 3.5.16 | 3.5.16 |
| moodle/moodle | >= 3.8.0, < 3.8.7 | 3.8.7 |
| moodle/moodle | >= 3.9.0, < 3.9.4 | 3.9.4 |
| moodle/moodle | >= 3.10.0, < 3.10.1 | 3.10.1 |
| ubuntu/moodle(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.9+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.10+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.11+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.11+dfsg-2 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 2.7.12+dfsg-1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 3.0.3+dfsg-0ubuntu1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:16.04) | = 3.0.3+dfsg-0ubuntu1+esm1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | = 3.0.3+dfsg-0ubuntu1 | No fix listed |
| ubuntu/moodle(Ubuntu:Pro:18.04) | = 3.0.3+dfsg-0ubuntu1+esm1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- moodle.org issue-tracking patch vendor-advisory
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking