7.2

CVE-2021-20187: moodle Code Injection

CVSS: 7.2v3.1HighModified
AliasesUBUNTU-CVE-2021-20187
Published 28-01-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-20187 is a high (CVSS 7.2) Code Injection vulnerability in moodle. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 75.1% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
1.57%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-01-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.57%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

0.00 pp

From 1.57% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.57%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Moodle1 product
  • moodleEOL< 3.5.16 | ≥ 3.8.0, < 3.8.7 | ≥ 3.9.0, < 3.9.4 | 3.10.0
Ubuntu1 product
  • moodleAll versions (No fix recorded)

2 vendors · 2 products

References

3 links