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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Moodle | Fixed in moodle 4.0.5, moodle 3.11.11 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.11, < 3.11.11 | 3.11.11 | GHSA-xv72-6pgh-cjj8 |
| Packagist | moodle/moodle | >= 4.0, < 4.0.5 | 4.0.5 | GHSA-xv72-6pgh-cjj8 |