Vulnerabilities · 2022 · Moodle
CVE-2022-45150
Moodle vulnerability
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 products
Moodle, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moodle runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76091
- bugzilla.redhat.com/show_bug.cgi?id=2142773
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N
- moodle.org/mod/forum/discuss.php?d=440770
- nvd.nist.gov/vuln/detail/CVE-2022-45150
- lists.fedoraproject.org/archives/list/[email protected]/message/2DH
- nvd.nist.gov/vuln/detail/CVE-2022-45150
- cve.org/CVERecord?id=CVE-2022-45150
More vulnerabilities in Moodle products
CVE-2025-62401CVE-2025-62400CVE-2025-62399CVE-2025-62398CVE-2025-62397CVE-2025-62396CVE-2025-62395CVE-2025-62394All 611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.