Vulnerability · Published Jan 28, 2021 · Assigned by redhat
CVE-2021-20186
Medium 5.4
In plain English
A medium-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.8%top 44.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.10.1 | GHSA-h8m4-h385-qhqv |
| Packagist | moodle/moodle | 3.9.4 | GHSA-h8m4-h385-qhqv |
| Packagist | moodle/moodle | 3.8.7 | GHSA-h8m4-h385-qhqv |
| Packagist | moodle/moodle | 3.5.16 | GHSA-h8m4-h385-qhqv |
Affected products (as reported)
Weakness: CWE-79
References
- https://moodle.org/mod/forum/discuss.php?d=417170 x_refsource_MISC