Live threats

All CVEs / Moodle

CVE-2020-25629Moodle

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
Yes
Published
Dec 8, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284, CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

A vulnerability was found in Moodle where users with "Log in as" capability in a course context (typically, course managers) may gain access to some site administration capabilities by "logging in as" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.

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.9 < 3.9.2 3.9.2 composer require "moodle/moodle:^3.9.2"
Packagist moodle/moodle ≥ 3.8 < 3.8.5 3.8.5 composer require "moodle/moodle:^3.8.5"
Packagist moodle/moodle ≥ 3.7 < 3.7.8 3.7.8 composer require "moodle/moodle:^3.7.8"
Packagist moodle/moodle ≥ 3.5 < 3.5.14 3.5.14 composer require "moodle/moodle:^3.5.14"

Per OSV / GitHub Advisories (GHSA-f5r8-7h4f-jr9x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.5.0 < 3.5.14
moodlemoodle≥ 3.7.0 < 3.7.8
moodlemoodle≥ 3.8.0 < 3.8.5
moodlemoodle≥ 3.9.0 < 3.9.2

Official sources

References

Links published by the sources. Open them with care.