Vulnerability · Published Nov 23, 2022 · Assigned by fedora

CVE-2022-45150

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

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

Official description

A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.9.18GHSA-6gx2-g773-hv9h
Packagistmoodle/moodle3.11.11GHSA-6gx2-g773-hv9h
Packagistmoodle/moodle4.0.5GHSA-6gx2-g773-hv9h

Affected products (as reported)

VendorProductVersions
n/a Moodle Fixed in moodle 4.0.5, moodle 3.11.11, moodle 3.9.18

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

References