CVE-2021-32478 json
Moodle reflected XSS
published 2022-03-11 4 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2021-32478 , EUVD-2022-1356 , GHSA-78fm-qhh8-8858
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist moodle/moodle 3.8.9, 3.9.7, 3.10.4
- bitnami moodle 3.8.9, 3.9.7, 3.10.4
- moodle moodle 3.8.9, 3.9.7, 3.10.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32478 updated cvss 6.1
moodle: Moodle: Reflected XSS and Open Redirect
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Moodle 3.8-3.10.3 - Reflected XSS & Open Redirect nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.10, <3.10.4 >=3.9, <3.9.7 >=3.8, <3.8.9 |
3.10.4 3.9.7 3.8.9 |
| bitnami | moodle | <3.8.9 >=3.9.0, <3.9.7 >=3.10.0, <3.10.4 |
3.8.9 3.9.7 3.10.4 |
Affected products
- n/a moodle
Classification
References
-
moodle.org
/mod/forum/discuss.php?d=422314
web, patch, vendor-advisory, advisory
-
github.com
/moodle/moodle/commit/752ad3d8eb4f9ac22dbf1461aa69d6e0baee503e
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-32478
advisory, web
Sources
- CVE List CVE-2021-32478
- GitHub Advisory GHSA-78fm-qhh8-8858
- NVD CVE-2021-32478
- OSV BIT-moodle-2021-32478
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.