Vulnerability · Published Mar 6, 2023 · Assigned by fedora

CVE-2021-36401

Medium 4.8

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.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.5%top 55.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.11.1GHSA-g6h6-4fp6-w33w
Packagistmoodle/moodle3.10.5GHSA-g6h6-4fp6-w33w
Packagistmoodle/moodle3.9.8GHSA-g6h6-4fp6-w33w

Affected products (as reported)

VendorProductVersions
n/a Moodle 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions

Weakness: CWE-79 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References