Home / Moodle 3.x / Moodle 3.x / CVE-2017-12157
CVE-2017-12157: is it exploited, and which versions of Moodle 3.x are affected and fixed?
CVE-2017-12157 is an information disclosure vulnerability in Moodle 3.x. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: moodle/moodle from 3.3.0 before 3.3.2, moodle/moodle from 3.2.0 before 3.2.5 and moodle/moodle before 3.1.8 (GitHub advisory GHSA-gw95-48xq-gqf9). Fixed in 3.3.2, 3.2.5 and 3.1.8 (GitHub advisory GHSA-gw95-48xq-gqf9). Severity: Medium (4.3, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:38 UTC.
What is CVE-2017-12157?
In Moodle 3.x, various course reports allow teachers to view details about users in the groups they can't access.
From the CVE record by redhat, last updated August 5, 2024, 18:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Moodle 3.x | Moodle 3.x |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.3.0, < 3.3.2 | 3.3.2 | GHSA-gw95-48xq-gqf9 |
| Packagist | moodle/moodle | >= 3.2.0, < 3.2.5 | 3.2.5 | GHSA-gw95-48xq-gqf9 |
| Packagist | moodle/moodle | < 3.1.8 | 3.1.8 | GHSA-gw95-48xq-gqf9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 31, 2023. Summary: Moodle sensitive information disclosure.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moodle | moodle | 3.0.0 | application |
| moodle | moodle | 3.0.1 | application |
| moodle | moodle | 3.0.2 | application |
| moodle | moodle | 3.0.3 | application |
| moodle | moodle | 3.0.4 | application |
| moodle | moodle | 3.0.5 | application |
| moodle | moodle | 3.0.6 | application |
| moodle | moodle | 3.0.7 | application |
| moodle | moodle | 3.0.8 | application |
| moodle | moodle | 3.0.9 | application |
| moodle | moodle | 3.0.10 | application |
| moodle | moodle | 3.1.0 | application |
| moodle | moodle | 3.1.1 | application |
| moodle | moodle | 3.1.2 | application |
| moodle | moodle | 3.1.3 | application |
| moodle | moodle | 3.1.4 | application |
| moodle | moodle | 3.1.5 | application |
| moodle | moodle | 3.1.6 | application |
| moodle | moodle | 3.1.7 | application |
| moodle | moodle | 3.2.0 | application |
| moodle | moodle | 3.2.1 | application |
| moodle | moodle | 3.2.2 | application |
| moodle | moodle | 3.2.3 | application |
| moodle | moodle | 3.2.4 | application |
| moodle | moodle | 3.3.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:02 UTC.
How severe is CVE-2017-12157?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-12157 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.10% probability of exploitation activity in the next 30 days, percentile 66.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- 100848 vdb-entry, x_refsource_BID
- https://moodle.org/mod/forum/discuss.php?d=358586 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- August 1, 2017
- Published
- September 18, 2017, 04:00 UTC
- CVE record updated
- August 5, 2024, 18:28 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:02 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:38 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Moodle 3.x?
- Jan 22, 2018CVE-2018-1045 Moodle 3.x: cross-site scripting (XSS)
- Jan 22, 2018CVE-2018-1044 Moodle 3.x: information disclosure
- Jan 22, 2018CVE-2018-1043 Moodle 3.x: insufficient access control
- Jan 22, 2018CVE-2018-1042 Moodle 3.x: server-side request forgery (SSRF)
- Nov 20, 2017CVE-2017-15110 Moodle 3.x: information disclosure
- Sep 18, 2017CVE-2017-12156 Moodle 3.x: cross-site scripting (XSS)
- Mar 26, 2017CVE-2017-2645 Moodle 3.x: cross-site scripting (XSS)
- Mar 26, 2017CVE-2017-2644 Moodle 3.x: cross-site scripting (XSS)
Questions about CVE-2017-12157
Is CVE-2017-12157 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 1.10% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Moodle 3.x are affected by CVE-2017-12157?
moodle/moodle from 3.3.0 before 3.3.2, moodle/moodle from 3.2.0 before 3.2.5 and moodle/moodle before 3.1.8, per the GitHub advisory GHSA-gw95-48xq-gqf9. The tables above give every range the sources list.
Which version fixes CVE-2017-12157?
3.3.2, 3.2.5 and 3.1.8, per the GitHub advisory GHSA-gw95-48xq-gqf9. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12157?
Medium (4.3, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12157?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.