Live threats

All CVEs / Moodle

CVE-2020-25699Moodle

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Nov 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 3.9.0 < 3.9.3 3.9.3 composer require "moodle/moodle:^3.9.3"
Packagist moodle/moodle ≥ 3.8.0 < 3.8.6 3.8.6 composer require "moodle/moodle:^3.8.6"
Packagist moodle/moodle ≥ 3.7.0 < 3.7.9 3.7.9 composer require "moodle/moodle:^3.7.9"
Packagist moodle/moodle ≥ 3.5 < 3.5.15 3.5.15 composer require "moodle/moodle:^3.5.15"

Per OSV / GitHub Advisories (GHSA-h77r-rp97-7rv4). 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
fedoraprojectfedora32
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.