Medium severity6.1NVD Advisory· Published Nov 23, 2022· Updated Jun 17, 2026
CVE-2022-45150
CVE-2022-45150
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
moodle/moodlePackagist | >= 3.9, < 3.9.18 | 3.9.18 |
moodle/moodlePackagist | >= 3.11, < 3.11.11 | 3.11.11 |
moodle/moodlePackagist | >= 4.0, < 4.0.5 | 4.0.5 |
Affected products
7- ghsa-coords2 versions
>= 3.9, < 3.9.18+ 1 more
- (no CPE)range: >= 3.9, < 3.9.18
- (no CPE)range: >= 3.9.0, < 3.9.18
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-6gx2-g773-hv9hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-45150ghsaADVISORY
- bugzilla.redhat.com/show_bug.cginvdWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2ghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGVghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSABghsaWEB
- moodle.org/mod/forum/discuss.phpnvdWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/nvd
News mentions
0No linked articles in our index yet.