Live threats

All CVEs / Moodle

CVE-2018-1136Moodle

Medium 4.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle≥ 3.1.0 ≤ 3.1.11
moodlemoodle≥ 3.2.0 ≤ 3.2.8
moodlemoodle≥ 3.3.0 ≤ 3.3.5
moodlemoodle≥ 3.4.0 ≤ 3.4.2

Official sources

References

Links published by the sources. Open them with care.