CVE-2012-2361: Moodle - Reflected XSS
- Cve: CVE-2012-2361
- Name: Moodle - Reflected XSS
- Description: Cross-site scripting (XSS) vulnerability in admin/webservice/forms.php in the web services implementation in Moodle 2.0.x before 2.0.9, 2.1.x before 2.1.6, and 2.2.x before 2.2.3 allows remote authenticated users to inject arbitrary web script or HTML via the name field (aka the service name) to admin/webservice/service.php.
- Impact: Authenticated users can inject malicious scripts, potentially leading to session hijacking or defacement.
- Remediation: Update to Moodle 2.0.9, 2.1.6, 2.2.3 or later versions.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to be an authenticated user
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.5
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:S/C:N/I:P/A:N
- Epss score: 0.01118
- Epss percentile: 0.66961
- Assignee: [email protected]
- Published at: 2012-07-21T03:38:56Z
- Age in days: 5239
- Modified at: 2026-06-16T23:41:25Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2361
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31694 | nvd | |
| http://openwall.com/lists/oss-security/2012/05/23/2 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | = 2.2.2, = 2.2.1, = 2.2.0, = 2.1.5, = 2.1.4, = 2.1.3, = 2.1.2, = 2.1.1, = 2.1.0, = 2.0.8, = 2.0.7, = 2.0.6, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.1, = 2.0.0 | no | nvd | /v1/products/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 62250
- 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