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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.9.2GHSA-4w4j-9533-82qg
Packagistmoodle/moodle3.8.5GHSA-4w4j-9533-82qg
Packagistmoodle/moodle3.7.8GHSA-4w4j-9533-82qg

Affected products (as reported)

VendorProductVersions
n/a Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7

Weakness: CWE-79

References