CVE-2021-20280: Moodle - Stored XSS & Server Side Request Forgery
- Cve: CVE-2021-20280
- Name: Moodle - Stored XSS & Server Side Request Forgery
- Description: Text-based feedback answers required additional sanitizing to prevent stored XSS and blind SSRF risks in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
- Impact: Attackers can execute scripts in user browsers or access internal network resources, leading to data theft or session hijacking.
- Remediation: Update to Moodle 3.10.2, 3.9.5, 3.8.8, 3.5.17 or later versions with sanitization fixes.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, server_side_request_forgery
- Requirement type: user_interaction
- Requirements: Attacker needs to submit malicious feedback
- 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.01271
- Epss percentile: 0.70579
- Assignee: [email protected]
- Published at: 2021-03-15T22:15:13Z
- Age in days: 2080
- Modified at: 2026-06-17T03:33:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20280
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://packetstormsecurity.com/files/164817/Moodle-Cross-Site-Scripting-Server-Side-Request-Forgery.html | nvd | 2021-03-15 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | >= 3.10.0, < 3.10.2; >= 3.9.0, < 3.9.5; >= 3.8.0, < 3.8.8; >= 3.5.0, < 3.5.17 | no | nvd | /v1/products/moodle/moodle |
| fedoraproject:fedora | = 34, = 33, = 32 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | commit, fix, package | yes | /v1/repositories/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-03-15
- Remote: yes
- Authentication required: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports