Description
A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | moodle | moodle 3.5.1, moodle 3.4.4, moodle 3.3.7, moodle 3.1.13 | — |
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.5.0, < 3.5.1 | 3.5.1 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.4.0, < 3.4.4 | 3.4.4 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.3.0, < 3.3.7 | 3.3.7 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.2.0, < 3.2.10 | 3.2.10 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.1.0, < 3.1.13 | 3.1.13 | GHSA-p7v9-gjrh-563x |