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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.10.1GHSA-h8m4-h385-qhqv
Packagistmoodle/moodle3.9.4GHSA-h8m4-h385-qhqv
Packagistmoodle/moodle3.8.7GHSA-h8m4-h385-qhqv
Packagistmoodle/moodle3.5.16GHSA-h8m4-h385-qhqv

Affected products (as reported)

VendorProductVersions
n/a moodle moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16

Weakness: CWE-79

References