Medium severity5.4NVD Advisory· Published Nov 23, 2022· Updated Jun 17, 2026
CVE-2022-45151
CVE-2022-45151
Description
The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
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.11, < 3.11.11 | 3.11.11 |
moodle/moodlePackagist | >= 4.0, < 4.0.5 | 4.0.5 |
Affected products
7- ghsa-coords2 versions
>= 3.11, < 3.11.11+ 1 more
- (no CPE)range: >= 3.11, < 3.11.11
- (no CPE)range: >= 3.11.0, < 3.11.11
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-xv72-6pgh-cjj8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-45151ghsaADVISORY
- 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.