CVE-2018-1136
MEDIUM 4.3CVSS 3.0Moodle Cross-site Scripting
An issue was discovered in Moodle 3.x. An authenticated user is allowed to add HTML blocks containing scripts to their Dashboard; this is normally not a security issue because a personal dashboard is visible to this user only. Through this security vulnerability, users can move such a block to other pages where they can be viewed by other users.
- Published
- 25 May 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-xhfw-wjjc-4j5h
- Sources
- NVDJSONOSV GHSA-xhfw-wjjc-4j5hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.1.0, <= 3.1.11 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.2.0, <= 3.2.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.3.0, <= 3.3.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.2 | |
| OSV | Packagist | moodle/moodle | >= 3.1, < 3.1.12 | 3.1.12 |
| OSV | Packagist | moodle/moodle | >= 3.2, < 3.2.9 | 3.2.9 |
| OSV | Packagist | moodle/moodle | >= 3.3, < 3.3.6 | 3.3.6 |
| OSV | Packagist | moodle/moodle | >= 3.4, < 3.4.3 | 3.4.3 |
References
- http://www.securityfocus.com/bid/104307 · Third Party Advisory, VDB Entry, WEB
- https://moodle.org/mod/forum/discuss.php?d=371202 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1136 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 May 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)