Description
The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 and earlier unsupported versions are affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 | — |
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 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Moodle 3.8-3.10.3 - Reflected XSS & Open Redirect http/cves/2021/CVE-2021-32478.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.10, < 3.10.4 | 3.10.4 | GHSA-78fm-qhh8-8858 |
| Packagist | moodle/moodle | >= 3.9, < 3.9.7 | 3.9.7 | GHSA-78fm-qhh8-8858 |
| Packagist | moodle/moodle | >= 3.8, < 3.8.9 | 3.8.9 | GHSA-78fm-qhh8-8858 |