Description
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | 4.1.0 – < 4.1.1, 4.0.0 – < 4.0.6, 3.11.0 – < 3.11.12, < 3.9.19 | 4.1.1 |
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.9.19 | 3.9.19 | GHSA-97qf-pq7x-964m |
| Packagist | moodle/moodle | >= 3.10.0, < 3.11.12 | 3.11.12 | GHSA-97qf-pq7x-964m |
| Packagist | moodle/moodle | >= 4.0.0-beta, < 4.0.6 | 4.0.6 | GHSA-97qf-pq7x-964m |
| Packagist | moodle/moodle | >= 4.1.0-beta, < 4.1.1 | 4.1.1 | GHSA-97qf-pq7x-964m |
Advisories 1
- WID-SEC-2023-0248 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 31, 2023