CVE-2022-45151
Medium
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.
SeverityMedium
CVSS5.4
Exploit probability—
Product
Moodle
PublishedNov 23, 2022
First seenNov 23, 2022
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- moodle moodle3.11.11, 4.0.5 or later
- moodle/moodle3.11.11, 4.0.5 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | 3.11.0 ≤ v < 3.11.11, 4.0.0 ≤ v < 4.0.5 | 3.11.11, 4.0.5 |
| fedoraproject fedora | 35, 36, 37 | — |
| moodle/moodlePackagist | 3.11 ≤ v < 3.11.11, 4.0 ≤ v < 4.0.5 | 3.11.11, 4.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.