CVE-2018-10891
HIGH 7.3CVSS 3.1Moodle XSS Vulnerability
A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.
- Published
- 10 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-p7v9-gjrh-563x
- Sources
- NVDJSONOSV GHSA-p7v9-gjrh-563xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/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.1, < 3.1.13 | 3.1.13 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.3, < 3.3.7 | 3.3.7 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4, < 3.4.4 | 3.4.4 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5, < 3.5.1 | 3.5.1 |
| OSV | Packagist | moodle/moodle | >= 3.5.0, < 3.5.1 | 3.5.1 |
| OSV | Packagist | moodle/moodle | >= 3.4.0, < 3.4.4 | 3.4.4 |
| OSV | Packagist | moodle/moodle | >= 3.3.0, < 3.3.7 | 3.3.7 |
| OSV | Packagist | moodle/moodle | >= 3.2.0, < 3.2.10 | 3.2.10 |
| OSV | Packagist | moodle/moodle | >= 3.1.0, < 3.1.13 | 3.1.13 |
References
- http://www.securityfocus.com/bid/104739 · Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=373371 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-10891 · ADVISORY
- https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06 · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Jul 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)