CVE-2022-30596: Moodle - Stored XSS
- Cve: CVE-2022-30596
- Name: Moodle - Stored XSS
- Description: A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.
- Impact: Attackers can execute arbitrary scripts in the context of other users, potentially leading to session hijacking or data theft.
- Remediation: Implement proper sanitization of ID numbers during bulk marker allocation to prevent XSS.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to store malicious input
- 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.00906
- Epss percentile: 0.60758
- Assignee: [email protected]
- Published at: 2022-05-18T17:15:08Z
- Age in days: 1651
- Modified at: 2026-06-17T04:43:54Z
- Patch available: yes
- References total: 6
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30596
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| moodle:moodle | = 4.0.0; >= 3.11, < 3.11.7; >= 3.10, < 3.10.11; >= 3.9, < 3.9.14 | /v1/products/moodle/moodle |
| fedoraproject:fedora | = 36, = 35, = 34 | /v1/products/fedoraproject/fedora |
| redhat:enterprise_linux | = 8.0 | /v1/products/redhat/enterprise_linux |
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
- Remote: yes
- Authentication required: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports