Vulnerability · Published Mar 15, 2021 · Assigned by redhat
CVE-2021-20279
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 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)1.0%top 37.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.10.2 | GHSA-h7h6-fwpv-ggvx |
| Packagist | moodle/moodle | 3.9.5 | GHSA-h7h6-fwpv-ggvx |
| Packagist | moodle/moodle | 3.8.8 | GHSA-h7h6-fwpv-ggvx |
| Packagist | moodle/moodle | 3.5.17 | GHSA-h7h6-fwpv-ggvx |
Affected products (as reported)
Weakness: CWE-79
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1939033 x_refsource_MISC
- https://moodle.org/mod/forum/discuss.php?d=419650 x_refsource_MISC
- FEDORA-2021-1c27e89d49 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-50f63a0161 vendor-advisory, x_refsource_FEDORA