First published: Tue Nov 15 2022(Updated: )
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.
Credit: bressers@elastic.co patrick@puiterwijk.org
Affected Software | Affected Version | How to fix |
---|---|---|
Moodle Moodle | >=3.9.0<3.9.18 | |
Moodle Moodle | >=3.11.0<3.11.11 | |
Moodle Moodle | >=4.0.0<4.0.5 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
Fedoraproject Fedora | =37 | |
redhat/moodle | <4.0.5 | 4.0.5 |
redhat/moodle | <3.11.11 | 3.11.11 |
redhat/moodle | <3.9.18 | 3.9.18 |
composer/moodle/moodle | >=4.0<4.0.5 | 4.0.5 |
composer/moodle/moodle | >=3.11<3.11.11 | 3.11.11 |
composer/moodle/moodle | >=3.9<3.9.18 | 3.9.18 |
>=3.9.0<3.9.18 | ||
>=3.11.0<3.11.11 | ||
>=4.0.0<4.0.5 | ||
=35 | ||
=36 | ||
=37 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-45150 is a reflected cross-site scripting vulnerability in Moodle.
CVE-2022-45150 occurs due to insufficient sanitization of user-supplied data in the policy tool of Moodle.
The severity of CVE-2022-45150 is medium, with a severity value of 6.1.
Moodle versions 3.9.0 to 3.9.18, 3.11.0 to 3.11.11, and 4.0.0 to 4.0.5 are affected by CVE-2022-45150.
To fix CVE-2022-45150 in Moodle, you should upgrade to version 3.9.18, 3.11.11, or 4.0.5.