CVE-2018-1136Moodle
Medium 4.3
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.0
- 4.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- May 25, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.1 < 3.1.12 |
3.1.12 |
composer require "moodle/moodle:^3.1.12" |
| Packagist | moodle/moodle |
≥ 3.2 < 3.2.9 |
3.2.9 |
composer require "moodle/moodle:^3.2.9" |
| Packagist | moodle/moodle |
≥ 3.3 < 3.3.6 |
3.3.6 |
composer require "moodle/moodle:^3.3.6" |
| Packagist | moodle/moodle |
≥ 3.4 < 3.4.3 |
3.4.3 |
composer require "moodle/moodle:^3.4.3" |
Per OSV / GitHub Advisories (GHSA-xhfw-wjjc-4j5h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.1.0 ≤ 3.1.11 |
| moodle | moodle | ≥ 3.2.0 ≤ 3.2.8 |
| moodle | moodle | ≥ 3.3.0 ≤ 3.3.5 |
| moodle | moodle | ≥ 3.4.0 ≤ 3.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- moodle.org Vendor Advisory