Vulnerability · Published Dec 8, 2020 · Assigned by redhat
CVE-2020-25631
Medium 6.1
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.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.9%top 39.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.9.2 | GHSA-4w4j-9533-82qg |
| Packagist | moodle/moodle | 3.8.5 | GHSA-4w4j-9533-82qg |
| Packagist | moodle/moodle | 3.7.8 | GHSA-4w4j-9533-82qg |
Affected products (as reported)
Weakness: CWE-79
References
- https://moodle.org/mod/forum/discuss.php?d=410843 x_refsource_CONFIRM