Skip to content

CVE-2022-45151 Moodle stored-XSS vulnerability in some "social" user profile fields

MediumCVSS 5.4 EPSS 0.85%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntu

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.

Upgrade path

5 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/moodle(Ubuntu Pro 16.04) = 2.7.9+dfsg-1; = 2.7.10+dfsg-1; = 2.7.11+dfsg-1; = 2.7.11+dfsg-2 +4 more No fix listed No fix yet
ubuntu/moodle(Ubuntu Pro 18.04) = 3.0.3+dfsg-0ubuntu1; = 3.0.3+dfsg-0ubuntu1+esm1; All versions No fix listed No fix yet
moodle/moodle >= 3.11.0, < 3.11.11; >= 4.0.0, < 4.0.5 3.11.11, 4.0.5 Fixed
moodle/moodle(Packagist) = v3.11.0; = v3.11.0-beta; = v3.11.0-rc1; = v3.11.0-rc2 +22 more 3.11.11, 4.0.5 Fixed
fedoraproject fedora = 35; = 36; = 37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
moodle/moodle(Packagist) >= 3.11, < 3.11.11 3.11.11
moodle/moodle(Packagist) = v3.11.0 No fix listed
moodle/moodle(Packagist) = v3.11.0-beta No fix listed
moodle/moodle(Packagist) = v3.11.0-rc1 No fix listed
moodle/moodle(Packagist) = v3.11.0-rc2 No fix listed
moodle/moodle(Packagist) = v3.11.1 No fix listed
moodle/moodle(Packagist) = v3.11.10 No fix listed
moodle/moodle(Packagist) = v3.11.2 No fix listed
moodle/moodle(Packagist) = v3.11.3 No fix listed
moodle/moodle(Packagist) = v3.11.4 No fix listed
moodle/moodle(Packagist) = v3.11.5 No fix listed
moodle/moodle(Packagist) = v3.11.6 No fix listed
moodle/moodle(Packagist) = v3.11.7 No fix listed
moodle/moodle(Packagist) = v3.11.8 No fix listed
moodle/moodle(Packagist) = v3.11.9 No fix listed
moodle/moodle(Packagist) >= 4.0, < 4.0.5 4.0.5
moodle/moodle(Packagist) = v4.0.0 No fix listed
moodle/moodle(Packagist) = v4.0.0-beta No fix listed
moodle/moodle(Packagist) = v4.0.0-rc1 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc2 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc3 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc4 No fix listed
moodle/moodle(Packagist) = v4.0.1 No fix listed
moodle/moodle(Packagist) = v4.0.2 No fix listed
moodle/moodle(Packagist) = v4.0.3 No fix listed
Show 17 more
ProductAffected versionsFixed in
moodle/moodle(Packagist) = v4.0.4 No fix listed
moodle/moodle >= 3.11.0, < 3.11.11 3.11.11
moodle/moodle >= 4.0.0, < 4.0.5 4.0.5
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.9+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.10+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-2 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.12+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed

References