CVE-2018-14631: Moodle - Reflected XSS
- Cve: CVE-2018-14631
- Name: Moodle - Reflected XSS
- Description: moodle before versions 3.5.2, 3.4.5, 3.3.8 is vulnerable to a boost theme - blog search GET parameter insufficiently filtered. The breadcrumb navigation provided by Boost theme when displaying search results of a blog were insufficiently filtered, which could result in reflected XSS if a user followed a malicious link containing JavaScript in the search parameter.
- Impact: Attackers can execute arbitrary scripts in the context of the affected site, potentially leading to session hijacking or defacement.
- Remediation: Update Moodle to version 3.5.2, 3.4.5, 3.3.8 or later versions where the issue is fixed.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must follow a malicious link containing JavaScript in the search parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.02081
- Epss percentile: 0.82022
- Assignee: [email protected]
- Published at: 2018-09-17T20:29:00Z
- Age in days: 2990
- Modified at: 2026-06-17T01:41:19Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-14631
- 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-20 | Improper Input Validation |
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62857 | Patch, Vendor Advisory |
| https://moodle.org/mod/forum/discuss.php?d=376025 | Patch, Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14631 | Issue Tracking, Patch, Third Party Advisory |
| http://www.securityfocus.com/bid/105371 | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | >= 3.5.0, < 3.5.2; >= 3.4.0, < 3.4.5; >= 3.3.0, < 3.3.8 | no | nvd | /v1/products/moodle/moodle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | package | yes | /v1/repositories/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports