CVE-2021-36568: Moodle - Stored XSS
- Cve: CVE-2021-36568
- Name: Moodle - Stored XSS
- Description: 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.
- Impact: Attackers can execute malicious scripts in the context of other users' browsers, potentially leading to session hijacking or data theft.
- Remediation: Update to the latest Moodle version where the vulnerability is fixed or apply security patches provided by Moodle.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01067
- Epss percentile: 0.65489
- Assignee: [email protected]
- Published at: 2022-09-13T22:15:08Z
- Age in days: 1533
- Modified at: 2026-06-17T03:58:56Z
- Public exploits total: 1
- References total: 3
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-36568
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.hackingforce.com.br/en/cve-2021-36568/ | nvd | 2022-09-13 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | = 3.11.0, = 3.10.4, = 3.9.7 | no | nvd | /v1/products/moodle/moodle |
| fedoraproject:fedora | = 36, = 35 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | package | yes | /v1/repositories/moodle/moodle |
Index
- Repositories: 1
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-09-13
- Remote: yes
- Authentication required: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports