CVE-2021-36568Moodle
Medium 5.4
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- Sep 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≤ 3.9.7 |
no fixed version | — |
| Packagist | moodle/moodle |
≥ 3.10.0 ≤ 3.10.4 |
no fixed version | — |
| Packagist | moodle/moodle |
≥ 3.11.0 < 3.11.10 |
3.11.10 |
composer require "moodle/moodle:^3.11.10" |
Per OSV / GitHub Advisories (GHSA-fm6m-fg23-67jq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 3.9.7 |
| moodle | moodle | 3.10.4 |
| moodle | moodle | 3.11.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- blog.hackingforce.com.br Exploit Third Party Advisory
- drive.google.com Broken Link Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org