Home / [UNKNOWN] / moodle / CVE-2018-16854
CVE-2018-16854: is it exploited, and which versions of [UNKNOWN] moodle are affected and fixed?
CVE-2018-16854 is a cross-site request forgery (CSRF) vulnerability in [UNKNOWN] moodle. 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, 10:08 UTC). Affected: moodle/moodle from 3.1 before 3.1.15, moodle/moodle from 3.3 before 3.3.9, moodle/moodle from 3.4 before 3.4.6 and 1 more (GitHub advisory GHSA-xj5f-qv37-r9jc). Fixed in 3.1.15, 3.3.9, 3.4.6 and 3.5.3 (GitHub advisory GHSA-xj5f-qv37-r9jc). Severity: Medium (6.5, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:27 UTC.
What is CVE-2018-16854?
A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.
From the CVE record by redhat, last updated August 5, 2024, 10:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| [UNKNOWN] | moodle | 3.6 3.5.3 3.4.6 3.3.9 3.1.15 |
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.1, < 3.1.15 | 3.1.15 | GHSA-xj5f-qv37-r9jc |
| Packagist | moodle/moodle | >= 3.3, < 3.3.9 | 3.3.9 | GHSA-xj5f-qv37-r9jc |
| Packagist | moodle/moodle | >= 3.4, < 3.4.6 | 3.4.6 | GHSA-xj5f-qv37-r9jc |
| Packagist | moodle/moodle | >= 3.5, < 3.5.3 | 3.5.3 | GHSA-xj5f-qv37-r9jc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 23, 2024. Summary: Moodle Login CSRF vulnerability in login form.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moodle | moodle | through 3.0.10 | application |
| moodle | moodle | from 3.1.0 before 3.1.15 | application |
| moodle | moodle | from 3.3.0 before 3.3.9 | application |
| moodle | moodle | from 3.4.0 before 3.4.6 | application |
| moodle | moodle | from 3.5.0 before 3.5.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:44 UTC.
How severe is CVE-2018-16854?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L | redhat |
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | 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-2018-16854 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.33% probability of exploitation activity in the next 30 days, percentile 84.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-352 Cross-Site Request Forgery
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 x_refsource_CONFIRM
- 1042154 vdb-entry, x_refsource_SECTRACK
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 x_refsource_CONFIRM
- 106017 vdb-entry, x_refsource_BID
- https://moodle.org/mod/forum/discuss.php?d=378731 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- September 11, 2018
- Published
- November 26, 2018, 17:00 UTC
- CVE record updated
- August 5, 2024, 10:32 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:44 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:27 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect moodle?
- May 21, 2020CVE-2020-10738 [UNKNOWN] moodle: improper input validation
- Mar 31, 2020CVE-2019-14880 [UNKNOWN] moodle: authentication bypass (improper authentication)
- Mar 18, 2020CVE-2019-14881 [UNKNOWN] moodle: cross-site scripting (XSS)
- Mar 18, 2020CVE-2019-14884 [UNKNOWN] moodle: cross-site scripting (XSS)
- Mar 18, 2020CVE-2019-14883 [UNKNOWN] moodle: improper authorization
- Mar 18, 2020CVE-2019-14882 [UNKNOWN] moodle: open redirect
- Jan 7, 2020CVE-2019-14879 [UNKNOWN] moodle: privilege escalation
- Mar 27, 2019CVE-2019-3847 [UNKNOWN] Moodle: cross-site scripting (XSS)
Questions about CVE-2018-16854
Is CVE-2018-16854 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 2.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of [UNKNOWN] moodle are affected by CVE-2018-16854?
moodle/moodle from 3.1 before 3.1.15, moodle/moodle from 3.3 before 3.3.9, moodle/moodle from 3.4 before 3.4.6 and moodle/moodle from 3.5 before 3.5.3, per the GitHub advisory GHSA-xj5f-qv37-r9jc. The tables above give every range the sources list.
Which version fixes CVE-2018-16854?
3.1.15, 3.3.9, 3.4.6 and 3.5.3, per the GitHub advisory GHSA-xj5f-qv37-r9jc. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-16854?
Medium (6.5, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-16854?
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.