CVE-2018-16854
HIGH 8.8CVSS 3.0Moodle Login CSRF vulnerability in login form
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.
- Published
- 26 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-xj5f-qv37-r9jc
- Sources
- NVDJSONOSV GHSA-xj5f-qv37-r9jcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
<= 3.0.10 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.15 | 3.1.15 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.9 | 3.3.9 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.6 | 3.4.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.3 | 3.5.3 |
| OSV | Packagist | moodle/moodle | >= 3.1, < 3.1.15 | 3.1.15 |
| OSV | Packagist | moodle/moodle | >= 3.3, < 3.3.9 | 3.3.9 |
| OSV | Packagist | moodle/moodle | >= 3.4, < 3.4.6 | 3.4.6 |
| OSV | Packagist | moodle/moodle | >= 3.5, < 3.5.3 | 3.5.3 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183 · Patch, Vendor Advisory, WEB
- http://www.securityfocus.com/bid/106017 · Third Party Advisory, VDB Entry, WEB
- http://www.securitytracker.com/id/1042154 · Third Party Advisory, VDB Entry, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=378731 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-16854 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 26 Nov 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)